Hi All,
Has anyone managed to build for iOS on Ionic Pro??
This is a small excerpt but cannot get past it…
e[31m[x] duplicate symbol _OBJC_CLASS_$_CDVLogger ine[0m
> CDVLogger.o
> libCordova.a(CDVLogger.o)
e[31m[x] duplicate symbol _OBJC_METACLASS_$_CDVLogger ine[0m
> CDVLogger.o
> libCordova.a(CDVLogger.o)
e[31m[x] ld: 2 duplicate symbols for architecture armv7e[0m
e[31m[x] clang: error: linker command failed with exit code 1 (use -v to see invocation)e[0m
e[33m>e[0m e[39;1mLinkinge[0m Vuelio\
e[31m[x] duplicate symbol _OBJC_CLASS_$_CDVLogger ine[0m
> CDVLogger.o
> libCordova.a(CDVLogger.o)
e[31m[x] duplicate symbol _OBJC_METACLASS_$_CDVLogger ine[0m
> CDVLogger.o
> libCordova.a(CDVLogger.o)
e[31m[x] ld: 2 duplicate symbols for architecture arm64e[0m
e[31m[x] clang: error: linker command failed with exit code 1 (use -v to see invocation)e[0m
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/ionic/Library/Developer/Xcode/DerivedData/Vuelio_Mobile-efcygnegsjxdmugliojxthocrzjq/Build/Intermediates/ArchiveIntermediates/Vuelio\ Mobile/IntermediateBuildFilesPath/Vuelio\ Mobile.build/Release-iphoneos/Vuelio\ Mobile.build/Objects-normal/armv7/Vuelio\ Mobile normal armv7
Ld /Users/ionic/Library/Developer/Xcode/DerivedData/Vuelio_Mobile-efcygnegsjxdmugliojxthocrzjq/Build/Intermediates/ArchiveIntermediates/Vuelio\ Mobile/IntermediateBuildFilesPath/Vuelio\ Mobile.build/Release-iphoneos/Vuelio\ Mobile.build/Objects-normal/arm64/Vuelio\ Mobile normal arm64
(2 failures)
[17:06:30]: e[31mExit status: 65e[0m
+-------------+-------------------------+
| e[32me[33mBuild environmente[0m |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.46.1 |
| sdk | iPhoneOS10.3.sdk |
+-------------+-------------------------+
[17:06:30]: ▸ e[35mduplicate symbol _OBJC_METACLASS_$_CDVLogger in:e[0m
[17:06:30]: ▸ e[35m /Users/ionic/Library/Developer/Xcode/DerivedData/Vuelio_Mobile-efcygnegsjxdmugliojxthocrzjq/Build/Intermediates/ArchiveIntermediates/Vuelio Mobile/IntermediateBuildFilesPath/Vuelio Mobile.build/Release-iphoneos/Vuelio Mobile.build/Objects-normal/arm64/CDVLogger.oe[0m
[17:06:30]: ▸ e[35m /Users/ionic/Library/Developer/Xcode/DerivedData/Vuelio_Mobile-efcygnegsjxdmugliojxthocrzjq/Build/Intermediates/ArchiveIntermediates/Vuelio Mobile/BuildProductsPath/Release-iphoneos/libCordova.a(CDVLogger.o)e[0m
[17:06:30]: ▸ e[35mld: 2 duplicate symbols for architecture arm64e[0m
[17:06:30]: ▸ e[35mclang: error: linker command failed with exit code 1 (use -v to see invocation)e[0m
[17:06:30]:
[17:06:30]: e[31m⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this errore[0m
[17:06:30]: e[33m📋 For the complete and more detailed error log, check the full log at:e[0m
[17:06:30]: e[33m📋 /Users/ionic/Library/Logs/gym/Vuelio Mobile-Vuelio Mobile.loge[0m
[17:06:30]:
[17:06:30]: e[31mLooks like fastlane ran into a build/archive error with your projecte[0m
[17:06:30]: e[31mIt's hard to tell what's causing the error, so we wrote some guides on howe[0m
[17:06:30]: e[31mto troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/e[0m
[17:06:30]: e[31mBefore submitting an issue on GitHub, please follow the guide above and makee[0m
[17:06:30]: e[31msure your project is set up correctly.e[0m
[17:06:30]: e[31mfastlane uses `xcodebuild` commands to generate your binary, you can see thee[0m
[17:06:30]: e[31mthe full commands printed out in yellow in the above log.e[0m
[17:06:30]: e[31mMake sure to inspect the output above, as usually you'll find more error information theree[0m
[17:06:30]:
[17:06:30]: e[32m---------------------------e[0m
[17:06:30]: e[32m--- Step: shell command ---e[0m
[17:06:30]: e[32m---------------------------e[0m
[17:06:30]: e[32m-----------------------------e[0m
[17:06:30]: e[32m--- Step: delete_keychain ---e[0m
[17:06:30]: e[32m-----------------------------e[0m
[17:06:30]: Error building the application - see the log above