Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CordovaError: Promise rejected with non-error: 'Error code 65 for command: xcodebuild #17

Open
campagna91 opened this issue Jan 25, 2020 · 2 comments

Comments

@campagna91
Copy link

campagna91 commented Jan 25, 2020

Hi Guys,

recently we add this plugin with the following configuration:

  • cordova 9 or 8 ( tried both )
  • cordova-ios: 4.5.4

We satisfied all plugin dependencies. But per each build, we continue to receive the following extended error:

CordovaError: Promise rejected with non-error: 'Error code 65 for command: xcodebuild with args: -xcconfig,/Users/username/Documents/enterprise/mobile/projectSubFolder-wrapper/projectSubFolder/jera.goweb.mobile.projectSubFolder/COMPANY_projectSubFolder_APP/projectSubFolder/appbuilds/compiled/DEVELOPMENT/GOprojectSubFolder.50.50.50/ios/com.project.name.custom.ch20/platforms/ios/cordova/build-debug.xcconfig,-workspace,com.project.name.custom.ch20.xcworkspace,-scheme,com.project.name.custom.ch20,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,com.project.name.custom.ch20.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/username/Documents/enterprise/mobile/projectSubFolder-wrapper/projectSubFolder/jera.goweb.mobile.projectSubFolder/COMPANY_projectSubFolder_APP/projectSubFolder/appbuilds/compiled/DEVELOPMENT/GOprojectSubFolder.50.50.50/ios/com.project.name.custom.ch20/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/username/Documents/enterprise/mobile/projectSubFolder-wrapper/projectSubFolder/jera.goweb.mobile.projectSubFolder/COMPANY_projectSubFolder_APP/projectSubFolder/appbuilds/compiled/DEVELOPMENT/GOprojectSubFolder.50.50.50/ios/com.project.name.custom.ch20/platforms/ios/build/sharedpch,-UseModernBuildSystem=0'


[exec] ** ARCHIVE FAILED **
[exec]
[exec]
[exec] The following build commands failed:
[exec] CompileC /Users/username/Library/Developer/Xcode/DerivedData/com.project.name.custom.ch20-aqojepblusoqpdhfxyksgwhjbgzt/Build/Intermediates.noindex/ArchiveIntermediates/com.project.name.custom.ch20/IntermediateBuildFilesPath/com.project.name.custom.ch20.build/Debug-iphoneos/com.project.name.custom.ch20.build/Objects-normal/armv7/SignInWithApple-509AF0B801A9C281.o com.project.name.custom.ch20/Plugins/cordova-plugin-sign-in-with-apple/SignInWithApple.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

Has someone the same problem or some suggestions about the environment to use?

EDIT:
If we comment on the plugin inside config.xml, build is successful.

Many thanks

Simon

@campagna91
Copy link
Author

I attach my complete build log and my config.xml file with the following note:

My own build script doesn't reach the archive phase, but opening the project's '.workspace' file : build and run commands are correctly executed.

https://jsfiddle.net/pgd2fstm/

@faugusztin
Copy link

It can't find ASAuthorizationScope. That type has been added in iOS 13.0. iOS 13.0 SDK was added in Xcode 11.0.

Are you building the iOS application with Xcode 11.0 or newer ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants