I'm upgrading to the new V2 Dropbox API, following the Carthage install instructions. It compiles fine but when it starts to run, it fails with dyld __abort_with_payload
.
A similar question indicated to put the framework into Embedded Binaries
instead of `Linked Frameworks and Libraries'. I tried this and it worked, sort of.
I then fixed what I thought was a typo in a path, removed it from the Embedded Binaries
list and it still worked, but for this target only. Other targets configured in the exact same manner AFAICT still fail.
Is there a subtle configuration I may have missed, or may have automatically been added when I used Embedded Binaries
, that may be left over even though it is no longer in use?
I don't think the Embedded Binaries should be needed to link a framework, and it is not documented to be necessary.
Edit: [adding Obj-C as this is likely a linking problem]
The framework is a dynamic framework, identified using the instructions from this post. I added the framework to the Embedded Binaries
making the app run. However, if I take it out of Embedded Binaries
, it still runs, but didn't previously with the same configuration AFAIK. Something subtle I don't understand has been changed.
Edit 2:
I initially used Embedded Binaries
as it seemed to work and not have the dyld failure. However, when I built as an archive and validated with the App Store, it failed to validate with several failures: Unsupported Architectures
, Invalid Segment Alignment
, LC_ENCRYPTION_INFO load command is either missing or invalid