![]() Please check the xcodebuild log for more details: /var/folders/mh/0wpmn3f15r18xmqnrgtyzrgm0000gn/T/carthage-xcodebuild.YEPV7A. This usually indicates that project itself failed to compile. usr/bin/xcrun lipo -create /Users/robertscott/Library/Caches//DerivedData/12.0.1_12A7300/dropbox-sdk-obj-c/5.0.3/Build/Intermediates.noindex/ArchiveIntermediates/ObjectiveDropboxOfficial\ iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/amework/ObjectiveDropboxOfficial /Users/robertscott/Library/Caches//DerivedData/12.0.1_12A7300/dropbox-sdk-obj-c/5.0.3/Build/Products/Release-iphonesimulator/amework/ObjectiveDropboxOfficial -output /Users/robertscott/Documents/iOSdev/TuneLab3/Carthage/Build/iOS/amework/ObjectiveDropboxOfficial *** Building scheme "ObjectiveDropboxOfficial iOS" in ObjectiveDropboxOfficial.xcodeproj *** xcodebuild output can be found in /var/folders/mh/0wpmn3f15r18xmqnrgtyzrgm0000gn/T/ *** Checking out dropbox-sdk-obj-c at "5.0.3" Open a terminal window, navigate to the project root, and do: Now to manually add Dropbox as a subproject (which also involves Carthage).Ĭreate Cartfile in project root with the following contents: Start XCODE 12.0.1: Select "New Project". Here is the latest minimal failure example: The other change was that now uses a completion block instead of returning the DBOAuthResult directly.Īnyway, I am back to using Cocoapods and everything is working as it should. One was that the type of the first parameter in the response block for the function createFolderV2 had to be changed from DBFILESFolderMetadata to DBFILESCreateFolderResult. Updating to Dropbox API version 5.0.3 and XCODE 12 only required two small accomodations in my source code. (I don't know if the last two commands were necessary.) Also I updated Cocoapods to the latest, version 1.10.0 withĪlso I updated the ObjectiveDropboxOfficial project to ver 5.0.3 with: Oh, I gave up on Carthage and returned to my original Cocoapods setup. But perhaps it had to do with CocoaPods making a copy of the header files for each architecture, because this error did not happen when building for a real device. It was odd that this error led to the error "ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h" not found. Then the main project build settings that include all standard architectures can be effective. In Xcode, with your app project open, navigate to File > Add Packages. ![]() The solution was to click on this setting and hit DELETE so it totally vanishes. Set up a physical Apple device or use a simulator to run. Even though the architectures were properly indicated as $(ARCHS_STANDARD) in both the project and the target build settings, they were being overriden by a setting in the USER-DEFINED section of the build settings that XCODE transferred there for some reason. That in turn was caused by the update to XCODE 12. The main problem was that the Intel 64-bit architecture was not recognized by XCODE as on of the build architectures.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |