Comments (19)
👍
from bolts-objc.
+1
from bolts-objc.
Bolts for iOS is currently not building with Carthage, generating the following error:
A shell task failed with exit code 1:
error: cannot parse the debug map for "<directory to project>/project/Carthage/Build/iOS/Bolts.framework/Bolts": The file was not recognized as a valid object file
I have not seen other frameworks generate a binary file (in this case the "Bolts" file that is the failure point) when building with Carthage. MacBolts also has this file but it appears to generate without problem while the file for iOS does not. I am not sure how to proceed. Any insight into this file's purpose and origin would be appreciated.
from bolts-objc.
I was incorrect in my previous comment regarding the binary file; some frameworks do appear to generate them as well when built with Carthage.
from bolts-objc.
any news, guys?
from bolts-objc.
Looks like this project is also blocking from using FBSDK
from bolts-objc.
After some investigation, it comes down to the fact that the iOS target for Bolts is a static library. Carthage only supports dynamic libraries so I've submitted my pull request with what I believe are the appropriate changes.
from bolts-objc.
👍🏻
from bolts-objc.
This should now be possible in iOS as of 1ee6d30. I think everything else has to have a framework anyways so I want to say the issue is now closed but I'll test some of it out.
from bolts-objc.
Using Bolts as a dynamic library, I had to set the build setting DYLIB_INSTALL_NAME_BASE to @rpath on the iOS-Dynamic target. Otherwise everything would compile and link but there would be a runtime error.
With commit 1ee6d30 Carthage still tries to build and fail the static lib. The only workaround I found so a far is to unshare the iOS target so Carthage builds only the dynamic library.
from bolts-objc.
FWIW, I had success integrating into an iOS app with Carthage without doing anything special. I ran carthage update
, linked against the Bolts.framework
dynamic framework, and everything worked as expected.
Using:
Xcode 7.1.1
Carthage 0.11.0
Cartfile:
github "BoltsFramework/Bolts-iOS"
Cartfile.resolved:
github "BoltsFramework/Bolts-iOS" "1.5.0"
Note: This project had been previously configured to use other libs via Carthage, so I may have changed a build setting or something that allowed it to work without any further config.
from bolts-objc.
Hey guys, just wanted to let you know that this is coming very very soon.
To test this right now - specify the following in your Cartfile:
github "BoltsFramework/Bolts-iOS" "nlutsenko.dynamic"
If at some later point it is going to complain that the branch no longer exists - then it probably was merged in master
.
from bolts-objc.
It's fully supported now, starting from 1.5.1 release.
from bolts-objc.
I just arrived here looking for iOS support due to this warning from Carthage.
Dependency "Bolts-iOS" has no shared framework schemes for any of the platforms: iOS
I ran the following command to have it build for iOS.
carthage build --platform iOS
I will try out the 1.5.1 release.
from bolts-objc.
Try 1.5.1 - I tested with 'master' before releasing - it built for all platforms.
from bolts-objc.
Next I am going to try getting Parse to build. I see the following message from Carthage.
Building scheme "OCMock iOS" in Parse.xcworkspace
from bolts-objc.
Be aware that Parse doesn't yet support Carthage, only Bolts does.
I am working on bringing it to Parse right now.
from bolts-objc.
btw, I do see Bolts.framework
and Bolts.framework.dSYM
in Carthage/Build/iOS/
now. Thanks @nlutsenko!
from bolts-objc.
@nlutsenko How long will the update for Parse take? I may just fork and make a change to get it done for my immediate needs and could send a PR if you want. I'll review what you did for Bolts and replicate the change.
from bolts-objc.
Related Issues (20)
- Documents not available at 1.9.0 on cocoapods.org. HOT 1
- EXC_BAD_ACCESS in BfTask.m
- Next Version Release? HOT 5
- 7 Semantic Issues in XCode 10.1 with Bolts 1.9.0 HOT 3
- ``` HOT 2
- setException deprecated
- Apple Review HOT 10
- Need the Bolts framework with mac catalyst support HOT 2
- Script build_framework.sh fails HOT 1
- need latest BoltsFramework HOT 1
- Built framework lacks slices HOT 2
- Bolts not updating to 1.9.1
- REMOVE ALL UIWEBVIEW REFERENCES OR TEXT IN README.MD
- IPhone
- Crash BFTask.m - Line 54 Crashed: com.parse.asynctaskqueue.sync SIGABRT ABORT 0x00000001b70da95c HOT 3
- U
- Failed to install apps when using Carthage and Xcode12.5 HOT 1
- Is Bolts relevant in 2022 for handling simple deeplinks opening from Facebook?
- Library not loaded: @rpath/Bolts.framework/Versions/A/Bolts
- Privacy manifest required by Apple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolts-objc.