Closed adwenn closed 1 year ago
Could you please try adding the SDK using Swift Package Manager pointing to the URL in https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1683. The feature will be released in a few days.
We'll be removing carthage and Cocoapods support soon.
Thanks for the quick reply. Ok I looked into #1683 but I'm not really sure what URL you mean that I should use. There is so much information in there. It is not clear what URL you are referring that I should use.
e.g. https://github.com/mman/Parse-SDK-iOS-OSX/tree/spm
https://github.com/vazarkevych/Parse-SDK-iOS-OSX/tree/SPM
The PR is based on this branch: https://github.com/vazarkevych/Parse-SDK-iOS-OSX/tree/SPM
To add the still unmerged branch via SPM:
File > Add packages...
, enter this URL:
https://github.com/vazarkevych/Parse-SDK-iOS-OSXYou can use this to test the integration via SPM. Since this is a URL to a 3rd party repository (of the party submitting the PR) instead of an official Parse Platform repository, we do not recommend to use this in a production environment but rather wait until the PR is merged and we make an official release.
@adwenn Did you get a chance to try out adding the SDK using SPM?
Hi @mtrezza,
I forgot mention: I used the Swift Package Manager (SPM) from Martin Man: https://github.com/mman/Parse-SDK-iOS-OSX/tree/spm
This one worked perfectly in my case. The newer one of vazarkevych [SPM] gave me some more errors. So I removed and continue with the other one.
Thanks alot for your help. I owe you a cup of coffee.
Interesting, would you mind sharing the errors? Maybe it's something we need to fix in the official version.
Interesting, would you mind sharing the errors? Maybe it's something we need to fix in the official version.
To give you a proper answer to your question I'm going to provide you with a bit of context on the project I'm working on. It was created in 2019 with some 3rd party libraries (including this iOS Parse-SDK-iOS). I had to bring this project back to live with minimal effort. So basically build, run and deploy to the app store. I didn't want to do any rewrite on the existing (2019) code for it to work.
In order for me to properly answer your question: I took a deep dive into it what was causing these errors and it seems that most of them came because I didn't properly remove the carthage (Parse-SDK) version out of the project. The only actual errors I was getting were:
So it seems that there is no errors or bugs in this version.
If you have any other questions please let me know
These are not error but warnings:
Object file (/Users/adwenn/Library/Developer/Xcode/DerivedData/thisproject-bmvhaatqyaqfvqcbtweebkybniax/Build/Products/Debug-iphonesimulator/ParseTwitterUtils.o) was built for newer iOS Simulator version (12.0) than being linked (11.0)
Object file (/Users/adwenn/Library/Developer/Xcode/DerivedData/thisproject-bmvhaatqyaqfvqcbtweebkybniax/Build/Products/Debug-iphonesimulator/ParseCore.o) was built for newer iOS Simulator version (12.0) than being linked (11.0)
Object file (/Users/adwenn/Library/Developer/Xcode/DerivedData/thisproject-bmvhaatqyaqfvqcbtweebkybniax/Build/Products/Debug-iphonesimulator/ParseUI.o) was built for newer iOS Simulator version (12.0) than being linked (11.0)
Object file (/Users/adwenn/Library/Developer/Xcode/DerivedData/thisproject-bmvhaatqyaqfvqcbtweebkybniax/Build/Products/Debug-iphonesimulator/FacebookCore.o) was built for newer iOS Simulator version (12.0) than being linked (11.0)
@adwenn Thanks for clarifying. We want to make sure we provide a SDK that works so that you don't have to rely on 3rd party repositories and we combine efforts around the SDK development here. Hence my question.
New Issue Checklist
Issue Description
MBP [mid 2015] xcode 14.2 (14C18) carthage 0.38.0 I'm using Carthage to build and deploy the parse-SDK-iOS into my project. It builds but when I try to run it on the iOS simulator I get the following error (snippet):
Environment
I'm using version v1.19.4 of Parse-SDK-iOS-OSX
Am I missing something here?