I’ve a undertaking linked to the FirebaseSDK which runs completely tremendous in Construct, Simulator, Preview, and when Run on my iPhone 16 Professional.
Nonetheless, I would like to make use of the GoogleMaps SDK. After I set up the package deal (https://github.com/googlemaps/ios-places-sdk) following the directions from Google’s documentation, my undertaking breaks. It nonetheless builds efficiently and can run on my gadget, however no information will preview anymore. That is enormous headache when attempting ot make incremental modifications since I’ve to consistently run the undertaking on my cellphone to see affirm my modifications had been profitable as meant.
It looks like the package deal will not be absolutely putting in every part it wants. After I run the undertaking i get the error message
Can not preview on this file
Did not launch *mybundleid*
After I view the diagnostics, I get a message:
[Remote] CouldNotLoadInputStaticArchiveFile: Couldn't load static archive throughout preview: /Customers/Brandon_1/Library/Developer/Xcode/DerivedData/-edjwkkhkgvjnpgcgtmecmarculee/Construct/Merchandise/Debug-iphonesimulator/GooglePlaces.a
path: /Customers/Brandon_1/Library/Developer/Xcode/DerivedData/-edjwkkhkgvjnpgcgtmecmarculee/Construct/Merchandise/Debug-iphonesimulator/GooglePlaces.a
I’ve tried a number of totally different troubleshooting makes an attempt, excluding the arm64 structure from debug, eradicating and reinstalling the package deal. Putting in the Google Maps iOS Utils package deal and nothing appears to work.
A number of assist articles included directions to obtain the XCframework or .a file manually and drag them into the undertaking, I’ve try to do this as nicely however can not with out inflicting extra errors that point out duplicate tasks or information.
Would love to raised perceive how XCode packages its tasks and handles package deal dependencies to be able to resolve this, or if anybody has an answer, a lot appreciated!