$ionic build ios CpResource PsarOnline/Resources/icons/icon-72@2x.png build/emulator/PsarOnline.app/icon-72@2x.png cd /Users/Roller/Working/Mobile/PsarOnline/platforms/ios export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Roller/.rvm/gems/ruby-2.2.1/bin:/Users/Roller/.rvm/gems/ruby-2.2.1@global/bin:/Users/Roller/.rvm/rubIEs/ruby-2.2.1/bin:/usr/local/sbin:/Users/Roller/.node/bin:/usr/local/share/python:/usr/local/sbin:/usr/local/bin/python:/usr/local/bin:/sbin:/bin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Roller/.rvm/bin" builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-sym@R_502_6862@s /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/PsarOnline/Resources/icons/icon-72@2x.png /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator/PsarOnline.app ProcessInfoPListfile build/emulator/PsarOnline.app/Info.pList PsarOnline/PsarOnline-Info.pList cd /Users/Roller/Working/Mobile/PsarOnline/platforms/ios export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Roller/.rvm/gems/ruby-2.2.1/bin:/Users/Roller/.rvm/gems/ruby-2.2.1@global/bin:/Users/Roller/.rvm/rubIEs/ruby-2.2.1/bin:/usr/local/sbin:/Users/Roller/.node/bin:/usr/local/share/python:/usr/local/sbin:/usr/local/bin/python:/usr/local/bin:/sbin:/bin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Roller/.rvm/bin" builtin-infoPListUtility /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/PsarOnline/PsarOnline-Info.pList -genpkginfo /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator/PsarOnline.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/MainVIEwController-Partialinfo.pList -o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator/PsarOnline.app/Info.pList Ld build/emulator/PsarOnline.app/PsarOnline normal i386 cd /Users/Roller/Working/Mobile/PsarOnline/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=6.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Roller/.rvm/gems/ruby-2.2.1/bin:/Users/Roller/.rvm/gems/ruby-2.2.1@global/bin:/Users/Roller/.rvm/rubIEs/ruby-2.2.1/bin:/usr/local/sbin:/Users/Roller/.node/bin:/usr/local/share/python:/usr/local/sbin:/usr/local/bin/python:/usr/local/bin:/sbin:/bin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Roller/.rvm/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator9.0.sdk -L/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator -L/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/PsarOnline/Plugins/cordova-plugin-Google-analytics -F/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator -fileList /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/PsarOnline.@R_502_6862@fileList -mios-simulator-version-min=6.0 -X@R_502_6862@er -objc_abi_version -X@R_502_6862@er 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-@R_502_6862@-runtime -framework AssetsLibrary /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator/libCordova.a -framework CoreGraphics -framework MobileCoreServices -lGoogleAnalytiCSServices -framework SystemConfiguration -framework CoreData -lz -lsqlite3.0 -X@R_502_6862@er -dependency_info -X@R_502_6862@er /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/PsarOnline_dependency_info.dat -o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator/PsarOnline.app/PsarOnline duplicate symbol _OBJC_IVAR_$_IonicKeyboard._keyboardShowObserver in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o duplicate symbol _OBJC_IVAR_$_IonicKeyboard._keyboardHIDeObserver in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o duplicate symbol _OBJC_IVAR_$_IonicKeyboard._hIDeKeyboardAccessorybar in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o duplicate symbol _OBJC_IVAR_$_IonicKeyboard._disableScroll in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o duplicate symbol _OBJC_CLASS_$_IonicKeyboard in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o duplicate symbol _OBJC_MetaCLASS_$_IonicKeyboard in: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-A27CEE60F3321684.o /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/PsarOnline.build/DeBUG-iphonesimulator/PsarOnline.build/Objects-normal/i386/IonicKeyboard-CD8FF3CC2E72B79C.o ld: 6 duplicate symbols for architecture i386 clang: error: @R_502_6862@er command Failed with exit code 1 (use -v to see invocation) ** BUILD Failed ** The following build commands Failed: Ld build/emulator/PsarOnline.app/PsarOnline normal i386 (1 failure) Error code 65 for command: xcodebuild with args: -xcconfig,/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/cordova/build-deBUG.xcconfig,-project,PsarOnline.xcodeproj,ARCHS=i386,-target,PsarOnline,-configuration,DeBUG,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONfigURATION_BUILD_DIR=/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/Roller/Working/Mobile/PsarOnline/platforms/ios/build/sharedpch ERROR building one of the platforms: Error: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/cordova/build: Command Failed with exit code 2 You may not have the required environment or OS to build this project Error: /Users/Roller/Working/Mobile/PsarOnline/platforms/ios/cordova/build: Command Failed with exit code 2 at ChildProcess.whenDone (/Users/Roller/.node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.Js:139:23) at ChildProcess.emit (events.Js:110:17) at maybeClose (child_process.Js:1015:16) at Process.ChildProcess._handle.onexit (child_process.Js:1087:5)
怎么了?
解决方法 因为我以前从cordova安装的应用程序中有键盘重复插件.解决方案:通过运行此命令删除键盘插件
$cordova plugin remove ionic-plugin-keyboard总结
以上是内存溢出为你收集整理的构建iOS失败 – Cordova Ionic iOS全部内容,希望文章能够帮你解决构建iOS失败 – Cordova Ionic iOS所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)