If you know Swift, I imagine my confusion is basic, easy and clear for you to sort out and tell me.
How do I integrate an existing Parse database built for ObjectiveC (which I donât know) into a fresh SwiftUI App.
My vendor documentation doesnât include Swift let alone SwiftUI.
Iâd love to get a basic new SwiftUI App accessing the existing Parse database.
I checked that page yourprovided (thanks) and got further along from help here and now getting two clear errors I tried searching for but canât understand:
Error:
Cannot find âParseClientConfigurationâ in scope
Fixed the second error btw just now clicking Xcodeâs âfixâ adding configuration.
However, in the documentation it says include import Swift however when I do that, I was getting error that it canât find that, now it is not showing an error.
Today when I opened the project in Xcode, I have a new error:
Error Domain=NSCocoaErrorDomain Code=513 "âParse-Swiftâ couldnât be removed because you donât have permission to access it." UserInfo={NSUserStringVariant=(
That may be because I used CleanMyMac yesterday which maybe deleted cache/those contents?
Or is could this all be because I used the Package Manager to get Parse in here instead of cocoa pods?
update:
just to clarify, the second error in the image above is gone after including import Parse at the start.
(new user here canât embed pic to show you)
All Iâve done is try to update package and clean build etcâŠ
Hope Iâm not too late to the party and hope this helps you out.
From what I gather youâre mixing 2 separate libraries namely âParseâ and âParseSwiftâ
I see here that youâre still using the Parse library which means you need to use the Parse-IOS-SDK library. ( which is why you got the âCannot find âParseâ in scopeâ) error.
I would suggest you start from scratch and use Parse-Swift instead.
When you mentioned earlier âHow do I integrate an existing Parse database built for ObjectiveC (which I donât know) into a fresh SwiftUI App.â - this doesnât matter as a Parse Database is a stand alone database that can be accessed by any Parse SDK (like javascript, ios, parse-swift). So this doesnât matter.
Whatâs important is you understand how to set your database up (from the sound of it is that you have that ready from a 3rd party vendor) and setup your swiftUI app using the Parse-Swfit libary.