urbanairship / ios-library

Urban Airship iOS SDK
http://urbanairship.com
Apache License 2.0
478 stars 265 forks source link

Missing UAAutomation.xcdatamodeld file in the Copy Bundle Resources phase #257

Closed matteozajac closed 4 years ago

matteozajac commented 4 years ago

❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].

Preliminary Info

What Airship dependencies are you using?

Release 14.1.0

What are the versions of any relevant development tools you are using?

Xcode 12

Report

What unexpected behavior are you seeing?

Missing UAAutomation.xcdatamodeld file in the Copy Bundle Resources phase. Calling takeOff throws Cannot load NSManagedObjectModel. nil is an illegal URL parameter

What is the expected behavior?

TakeOff should run without issue.

rlepinski commented 4 years ago

@matteozajac How are you integrating the SDK? Swift Package Manager, Cocaopods, Carthage, Xcframework, or some other way?

matteozajac commented 4 years ago

@rlepinski Git submodule

rlepinski commented 4 years ago

Could you be more specific? Are you manually linking the projects?

rlepinski commented 4 years ago

I see in our build phase that is indeed missing, not sure why its not an issue for our samples.

matteozajac commented 4 years ago

Sorry, installation process was based on Add an XCframework to your project from the https://docs.airship.com/platform/ios/advanced/alternative-installation-methods/#selecting-frameworks

I've migrated directly from 13.2 to 14.1 and issue has occurred.

marc-scig commented 4 years ago

@matteozajac Thanks for the report. We're looking into it, and I'll keep you updated.

marc-scig commented 4 years ago

@matteozajac 14.1.1 is released. This should clear up your issue, but do let us know if you encounter any other problems. Thanks for you patience.