-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
Parse Integration and Bolts #1655
Comments
Thanks for opening this issue!
|
Does this work for you? #1591 (comment)
I suggest you open an issue in the Parse Swift SDK repository or post your questions in our community forum or chat to see whether there is anything that can be improved. cc @cbaker6 |
Thanks for the response. After mucking around with this for several hours, I was finally able to get clean Carthage builds for both XCFrameworks and FAT frameworks. I did get the following at the beginning of the builds, however, it proceeded to build all the FBSDK frameworks without issue.
I added all the XCFrameworks to my test project except Parse.xcframework, including Bolts, FBSDK*, ParseTwitter/FacebookUtils and ParseUI. (Question: What is the minimum set of frameworks that need to be added to a project - keeping in mind that I am not using any of the ParseUI or use login features. Just the minimum to make basic query and update requests to the Parse Server. I always thought it was just Parse and Bolts.) I added Parse.framework to the project. marking it as 'Do Not Embed'. I also added Carthage/Build/iOS to the Frameworks search path. I added a Run Script build phase with copy-frameworks and Parse.framework as the input: The app ran successfully on a simulator. When I tried to run it on a real device, I got the following error:
I am stuck at this point (and desperate to get my hands on a set of frameworks that work). Bruce |
I'd agree.
Which step in #1591 (comment) did not work for you? |
For anyone who's looking to switch from the Objective-C SDK to the Swift SDK, you should look at parse-community/Parse-Swift#391. This provides a seamless way of automatically logging in a user who was previously logged in using the Objective-C SDK by leveraging the session token. Note that logging in via the linked methods is the proper way to migrate to the Swift SDK as the SDK's themselves are entirely different and the Swift SDK should hydrate the |
We now also have a migration guide (in the works) with important considerations when migration to the Parse Swift SDK. |
@bvanderw I tried to replicate your steps and here is how I got it working in Xcode 14:
Important:
|
Closing as release 2.0.0 supports import via Swift Package Manager. |
Xcode 13.4.1 with latest Swift
macOS 12.4
Lastest Parse 1.19.3
It is not clear at all at this point how Parse is to be integrated into a new project. What is clear is that the documentation is woefully out of date.
If someone could give a workable integration strategy, it would really be appreciated.
New Issue Checklist
The text was updated successfully, but these errors were encountered: