particle-iot / spark-sdk-ios

DEPRECATED Particle iOS Cloud SDK. Use -->
https://github.com/particle-iot/particle-sdk-ios
Apache License 2.0
52 stars 33 forks source link

Carthage iOS framework issue #39

Open dkinzo opened 8 years ago

dkinzo commented 8 years ago

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

JonnyWalker81 commented 8 years ago

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.

idokleinman commented 8 years ago

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

JonnyWalker81 commented 8 years ago

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.

idokleinman commented 8 years ago

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