spark-sdk-ios icon indicating copy to clipboard operation
spark-sdk-ios copied to clipboard

Carthage iOS framework issue

Open dkinzo opened this issue 8 years ago • 4 comments

I've followed the guidelines for using Carthage when creating a custom iOS app but encounter the following error when trying to generate .framework files.

$ carthage update --platform iOS --use-submodules --no-use-binaries *** Fetching spark-sdk-ios *** Checking out spark-sdk-ios at "appstore_tinker_v1.0" *** xcodebuild output can be found in /var/folders/1d/yjtzzlj10b9g7109rsshw2tr0000gn/T/carthage-xcodebuild.QRmzUF.log *** Skipped building spark-sdk-ios due to the error: Dependency "spark-sdk-ios" has no shared framework schemes for any of the platforms: iOS

If you believe this to be an error, please file an issue with the maintainers at https://github.com/spark/spark-sdk-ios/issues/new

dkinzo avatar Sep 01 '16 00:09 dkinzo

I am having the same issue. Looking at the project I am not sure how Carthage would work since there is not a top level XCode Project file with shared schemes. I see XCode Project files in the example folder, but not sure how Carthage would know to look into that folder. Maybe I am missing something. Any help with getting this to work with Carthage would be greatly appreciated.

JonnyWalker81 avatar Sep 12 '16 21:09 JonnyWalker81

oh, carthage seems to pull the wrong commit because of the git tag label. Let me see if I can fix that quickly

idokleinman avatar Sep 12 '16 21:09 idokleinman

I specified "master" in my Cartfile or spark-sdk-ios and that seems to be working. Not sure why it would use that other label, maybe it had a weird conflict with some of the other dependencies in my Cartfile.

JonnyWalker81 avatar Sep 12 '16 23:09 JonnyWalker81

Oh, glad to hear it works now. Carthage does seem to have sensitivity to tag names in Cartfile, I'll check if that applies in the general case and try to fix it

idokleinman avatar Sep 13 '16 00:09 idokleinman