Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Sidekick Cloud iOS build - CompileC fails #471

Open
nmandyam opened this issue Feb 6, 2020 · 1 comment
Open

Sidekick Cloud iOS build - CompileC fails #471

nmandyam opened this issue Feb 6, 2020 · 1 comment
Labels

Comments

@nmandyam
Copy link

nmandyam commented Feb 6, 2020

Please, provide the details below:

Did you verify whether this issue has already been reported here?

Similar issues have been reported, with the same error-code, but not with the same error message. So yes, I have verified that it has not been reported.

Tell us about the problem

Cloud build fails with the following error:
[ERROR] ** ARCHIVE FAILED ** The following build commands failed: CompileC /tmp/builds/_/b3f6979f250d6ceb6a23d3c51ee2172429764c20/6.2.2/6.2.0/timetrackerteam/platforms/ios/DerivedData/timetrackerteam/Build/Intermediates.noindex/ArchiveIntermediates/timetrackerteam/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/AppAuth.build/Objects-normal/armv7/OIDAuthorizationService+IOS.o AppAuth/Source/iOS/OIDAuthorizationService+IOS.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) 'Build failed with error code 2'.

Which platform(s) does the issue occur on?

App targeted for iOS

Cloud Build on Windows

Provide the following version numbers that the issue occurs with:

  • NativeScript Sidekick: 1.19.2-v.2019.11.18.2
  • NativeScript CLI: 6.3.3
  • CLI extension nativescript-cloud: 1.19.3
  • CLI extension nativescript-starter-kits: 0.3.5

Tell us how to recreate the issue in as much detail as possible

The Cloud for iOS runs for a while, then barfs as shown below. I've cleared out the various folders (node_modules, platforms, hooks, package-lock.json, etc.), cleaned the Cloud Workspace and tried again, all to no avail.
The logs from the app are below, as also my package.json.
BTW, this may make no difference to this analysis, but still: on an old Mac, the compile fails with the strange error "API_UNAVAILABLE".

Does this issue happen every time?

Yes

Send the client logs

The Windows folder does not have recent logs. Here's what happens with Cloud build on screen, though: https://gist.github.com/nmandyam/fd2a2830b831fc59c3d7be252427451a

The package.json

Here: https://gist.github.com/nmandyam/68f6c8b0c9aa16897628a9d331e863a1

@NickIliev NickIliev added the ios label Feb 19, 2020
@NickIliev
Copy link
Collaborator

@nmandyam from the error log it seems that the issue is caused by a COcoaPod called abseil
Currently, this cocoa pod is not accessible from my side (the link is not working https://cocoapods.org/pods/abseil) so I can't really tell what is happening with the pod but what you could do is to track which plugin/library is using this pod and test if the app is building when you remove the library.

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

No branches or pull requests

2 participants