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
Static frameworks - Task failed with exit code 65 #2425
Comments
Building static frameworks is experimental at best. Also, as pointed out on the page of ld.py there is no need to override |
You can build Carthage from this branch #2415 currently under development and try out static framework support. |
@blender Thanks for pointing that out, I should also mention that everything worked fine before upgrading to Xcode 9.3, in case anyone else ever runs into this. |
Forget what I said about removing the |
What if you change Mach-O Type in xcode project at |
That doesn't seem to make a difference, I still get the same error:
If I remove the
|
Ok, will try to find what is wrong here. Thanks for pointing this out |
@floschliep Well, I don't know how to debug custom script, but I was able to build static framework by using carthage from branch |
@Aranoledur That's what I did too. I deleted
|
I use carthage built by XCode. Do you call |
@Aranoledur I used |
commit sha |
Yes. |
It's a kind of magic 😃 I have bumped carthage version, so pull, |
It's version 0.29.0 for me. I even changed the version manually in the Xcode project and ran |
Yes, I don't have rights to push to original repo. Commit sha: |
@floschliep on this repo, Carthage/Carthage you can check @Aranoledur PR by:
see https://help.github.com/articles/checking-out-pull-requests-locally/ |
@blender That did the trick, thanks! Also my custom script that modifies the config file works now:
With this you don't need to manually edit the Xcode projects anymore. Thanks @Aranoledur for your work 🙌 |
@floschliep @Aranoledur awesome. |
which carthage
: /usr/local/bin/carthagecarthage version
: 0.29.0xcodebuild -version
: Xcode 9.3 Build version 9E145--no-build
? No--no-use-binaries
? Yes--use-submodules
? No--cache-builds
? No--new-resolver
? NoCartfile
Carthage Output
Actual outcome
Carthage fails to build the
Differ
dependency. I've attached the log file. When running the command (xcrun codebuild …
) manually, the archive succeeds with this log.Expected outcome
Carthage should build all dependencies.
I'm using a build script as described here to build static frameworks:
The text was updated successfully, but these errors were encountered: