readium / r2-testapp-swift

BSD 3-Clause "New" or "Revised" License
146 stars 38 forks source link

Task failed with exit code 65 ObjectMapper #214

Closed MahavirTechuz closed 5 years ago

MahavirTechuz commented 5 years ago

Hi, i am facing this issue when i run command carthage update --platform ios

*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace Build Failed Task failed with exit code 65: /usr/bin/xcrun xcodebuild -workspace /Users/mahavirjadav/Downloads/r2-testapp-swift-develop/Carthage/Checkouts/ObjectMapper/ObjectMapper.xcworkspace -scheme ObjectMapper-iOS -configuration Release -derivedDataPath /Users/mahavirjadav/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/ObjectMapper/2.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/_8/1_nh_gbn3pjcss5dgv60ynv40000gn/T/ObjectMapper SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/mahavirjadav/Downloads/r2-testapp-swift-develop/Carthage/Checkouts/ObjectMapper)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/_8/1_nh_gbn3pjcss5dgv60ynv40000gn/T/carthage-xcodebuild.jFftWW.log

dilip-i commented 5 years ago

For previous xcodes it was running successfully. Can you confirm that it is happening in new Xcode 10 , iOS12.?

MahavirTechuz commented 5 years ago

Yes I am running in Version 10.0 (10A255) & iOS 12 please tell me if you have any solution for these that would be a great help Thanks

dilip-i commented 5 years ago

Yes I am running in Version 10.0 (10A255) & iOS 12 please tell me if you have any solution for these that would be a great help Thanks

Yes i have a work around. The trick is to replace the ObjectMapper in Checkouts folder with the latest ObjectMapper(https://github.com/tristanhimmelman/ObjectMapper) after "checking out" and before "building scheme". Thats it:)

MahavirTechuz commented 5 years ago

hi, dilip, Can you explain steps in detail because I am still facing this issue basically i just want to run this project : https://github.com/readium/r2-testapp-swift Thanks

astauder commented 5 years ago

Hi MahavirTechuz, I have been struggling with this for a couple of weeks now and I have a solution. Run carthage update --platform ios in terminal then when checking out has finished do a ctrl z to pause carthage, replace ObjectMapper with the new one from (https://github.com/tristanhimmelman/ObjectMapper) then in terminal type fg carthage update --platform ios this will continue carthage and it finally works!

MahavirTechuz commented 5 years ago

Thanks, @astauder your solution work for me and also @dilip-i for help thanks both of you. I am closing this issue for now. Thanks a lot guys,