If you are still having problems building the app, try the following and build your project again: Then clean the build folder (the option is in the menu bar under: "Product" -> "Clean Build Folder") and try building your project again. If you haven't already, make sure to create an empty swift file. TLDR: Xcode automatically manages this setting, and the RN template hardcodes it to use Swift 5.0. Alternatively, according to this issue comment, you can clear all the items listed in the "Library Search Paths" setting.change swift-5.0 to swift-5.3 (to show the popup dialog, double click the value/item). In the project navigator list, under the "Search Path" section, there should be a "Library Search Paths" setting (alternatively, you can search for "Library Search Paths" in the search bar).Ĭhange the entry "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)" to "$(TOOLCHAIN_DIR)/usr/lib/swift-5.3/$(PLATFORM_NAME)" i.e. In the project section's top tab bar, select the "Build Settings" tab (also make sure the "All" and "Combined" tabs are selected). In the left panel, under the "Project" section, select your project (if it isn't already selected). In the project navigator panel (located on the right side of Xcode), select your project group (i.e. Open your ios/project.xcworkspace project. This bug could be fixed in a future version of react native, but a workaround I've found is to do the following: Here are some related issues in the RN repo: Issue 30202 and Issue 29178. _C.UIAction.init(title: Swift.String, image: _C.UIImage?, identifier: _C.UIActionIdentifier?, discoverabilityTitle: Swift.String?, attributes: _C.UIMenuElementAttributes, state: _C.UIMenuElementState, handler: (_C.UIAction) -> ()) -> _C.UIAction _C.UIMenu.init(title: Swift.String, image: _C.UIImage?, identifier: _C.UIMenuIdentifier?, options: _C.UIMenuOptions, children: ) -> _C.UIMenu
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |