Skip to content
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

Xcode 14 fails to compile using SwiftUI Previews #5

Open
javiermorgaz opened this issue Oct 10, 2022 · 0 comments
Open

Xcode 14 fails to compile using SwiftUI Previews #5

javiermorgaz opened this issue Oct 10, 2022 · 0 comments

Comments

@javiermorgaz
Copy link

Describe the bug

Using the Xcode 14 final version my app that uses Apptimize-iOS-Kit (via SPM) will not compile using SwiftUI Preview's.
I've checked in a new simple project and still not compiling.

Steps To Reproduce

  1. Open Xcode 14.0.1
  2. Include a Swift Package that depends on [apptimize-ios-kit]
  3. Open a SwiftUI View file and compile the Preview
  4. Notice the error that returns from the SwiftUI Preview

Expected behavior

SwiftUI Preview should compile/run

Apptimize Framework Version

3.5.16

Dependency manager

Swift Package Manager

Swift version

5.7

Xcode version

14.0.1 (14A400)

Relevant log output

HumanReadableSwiftError

SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x00006000102c65e0):'Apptimize'>)

Link with same problem and possible solution in Amplify sdk:
https://github.com/aws-amplify/amplify-ios/issues/1874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant