Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/113.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
XCODE 9和ionic ios应用程序构建失败_Ios_Xcode_Ionic Framework_Apple Push Notifications_Xcode9 - Fatal编程技术网

XCODE 9和ionic ios应用程序构建失败

XCODE 9和ionic ios应用程序构建失败,ios,xcode,ionic-framework,apple-push-notifications,xcode9,Ios,Xcode,Ionic Framework,Apple Push Notifications,Xcode9,在ionic v1中构建项目之后。我把这个项目复制到了Mac电脑上。 在Mac Pc中,我将Podfile反集成并删除了Podfile,然后进行了pod安装。 之后,我清理了这个项目。 当我尝试构建应用程序时,它显示链接器错误 伙计们,谢谢你们的帮助 这是我的日志: Ld /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermedi

在ionic v1中构建项目之后。我把这个项目复制到了Mac电脑上。 在Mac Pc中,我将Podfile反集成并删除了Podfile,然后进行了pod安装。 之后,我清理了这个项目。 当我尝试构建应用程序时,它显示链接器错误

伙计们,谢谢你们的帮助

这是我的日志:

Ld /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences\ Resident.build/Debug-iphoneos/Safences\ Resident.build/Objects-normal/arm64/Safences\ Resident normal arm64
cd /Users/inayath/Desktop/safencesResidentAppAndroid/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk -L/Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos -L/Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/GoogleToolboxForMac -L/Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/Protobuf -L/Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/nanopb -F/Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos -F/Users/inayath/Desktop/safencesResidentAppAndroid/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/inayath/Desktop/safencesResidentAppAndroid/platforms/ios/Pods/FirebaseCore/Frameworks -F/Users/inayath/Desktop/safencesResidentAppAndroid/platforms/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/inayath/Desktop/safencesResidentAppAndroid/platforms/ios/Pods/FirebaseMessaging/Frameworks -filelist /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences\ Resident.build/Debug-iphoneos/Safences\ Resident.build/Objects-normal/arm64/Safences\ Resident.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences\ Resident.build/Debug-iphoneos/Safences\ Resident.build/Objects-normal/arm64/Safences\ Resident_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -ObjC -lGoogleToolboxForMac -lProtobuf -lc++ -lnanopb -lsqlite3 -lz -framework AddressBook -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebaseNanoPB -framework StoreKit -framework SystemConfiguration /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/libCordova.a -weak_framework AddressBook -weak_framework AddressBookUI -weak_framework SystemConfiguration -framework CoreTelephony -weak_framework MessageUI -lPods-Safences\ Resident -Xlinker -dependency_info -Xlinker /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences\ Resident.build/Debug-iphoneos/Safences\ Resident.build/Objects-normal/arm64/Safences\ Resident_dependency_info.dat -o /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences\ Resident.build/Debug-iphoneos/Safences\ Resident.build/Objects-normal/arm64/Safences\ Resident

duplicate symbol _OBJC_CLASS_$_CDVLogger in:
    /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences Resident.build/Debug-iphoneos/Safences Resident.build/Objects-normal/arm64/CDVLogger.o
    /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/libCordova.a(CDVLogger.o)
duplicate symbol _OBJC_METACLASS_$_CDVLogger in:
    /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Intermediates.noindex/Safences Resident.build/Debug-iphoneos/Safences Resident.build/Objects-normal/arm64/CDVLogger.o
    /Users/inayath/Library/Developer/Xcode/DerivedData/Safences_Resident-bohfyzovmoapaxbnzlsayigtqxpl/Build/Products/Debug-iphoneos/libCordova.a(CDVLogger.o)
ld: 2 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如果您使用ios 4.5或更高版本,您需要删除插件“cordova plugin console”,因为ios(平台)4.5或更高版本默认添加此插件,因此您最终会出现重复错误

应该能解决你的问题

来自

如果您使用ios 4.5或更高版本,您需要删除插件“cordova plugin console”,因为ios(平台)4.5或更高版本默认添加此插件,因此您最终会出现重复错误


应该能解决你的问题

您是否尝试过删除衍生数据并重建?是,我已删除衍生数据并重新生成。之后,我在存档管理器窗口未显示后存档了产品。您是否尝试删除衍生数据并重新生成?是,我已删除衍生数据并重新生成。之后,我归档了产品,但“归档管理器”窗口未显示。
ionic cordova plugin remove cordova-plugin-console