Can't built on ios


#1

Ionc: 3.13.2
cordova: 7.1.0

the app serves directly.
when I try to build. the terminal return error message:

"> :heavy_multiplication_x: Running command - failed!

[ERROR] An error occurred while running cordova build ios (exit code 1):

    (truncated) ... 
    tendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a 
    normal armv7\ arm64
         cd /Users/developer/Desktop/3/platforms/ios/CordovaLib
         export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/developer/Desktop/3/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
         
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool 
    -static 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a 
    -o 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
    
    Strip 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
         cd /Users/developer/Desktop/3/platforms/ios/CordovaLib
         export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/developer/Desktop/3/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
         
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip 
    -S 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
    
    SetOwnerAndGroup developer:staff 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
         cd /Users/developer/Desktop/3/platforms/ios/CordovaLib
         export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/developer/Desktop/3/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
         /usr/sbin/chown -RH developer:staff 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
    
    SetMode u+w,go-w,a+rX 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
         cd /Users/developer/Desktop/3/platforms/ios/CordovaLib
         export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/developer/Desktop/3/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
         /bin/chmod -RH u+w,go-w,a+rX 
    /Users/developer/Library/Developer/Xcode/DerivedData/Priority_attendance_report-blsxvbzxcypaabfbghukticnmmzh/Build/Intermediates/ArchiveIntermediates/Priority\ 
    attendance\ 
    report/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
    
    === BUILD TARGET Priority attendance report OF PROJECT Priority 
    attendance report WITH CONFIGURATION Debug ===
    
    Check dependencies
    Signing for "Priority attendance report" requires a development team. 
    Select a development team in the project editor.
    Code signing is required for product type 'Application' in SDK 'iOS 
    10.3'
    
    ** ARCHIVE FAILED **
    
    
    The following build commands failed:
    Check dependencies
    (1 failure)
    Error: Error code 65 for command: xcodebuild with args: 
    -xcconfig,/Users/developer/Desktop/3/platforms/ios/cordova/build-debug.xcconfig,-workspace,Priority 
    attendance report.xcworkspace,-scheme,Priority attendance 
    report,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,Priority 
    attendance 
    report.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/developer/Desktop/3/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/developer/Desktop/3/platforms/ios/build/sharedpch"

#2

Hi,

I have the same problem

cordova : 7.1

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.13.1
ionic (Ionic CLI) : 3.13.2

global packages:

cordova (Cordova CLI) : not installed

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.7.1

System:

Android SDK Tools : 25.2.5
ios-deploy        : 1.9.2
ios-sim           : 6.1.2
Node              : v8.6.0
npm               : 5.5.1
OS                : macOS Sierra
Xcode             : Xcode 9.0 Build version 9A235

Misc:

backend : pro

#3

Do you have Apple Developer Accounts?


#4

Interesting error message. Any idea what it means? Googled it?

Did you do what it says in the error message?