Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Once Swift Package Manager has iOS support, update project to support it properly #8

Open
DagAgren opened this issue Nov 22, 2016 · 3 comments

Comments

@DagAgren
Copy link
Collaborator

Currently, SPM does not support iOS, but once it does, the preliminary support included currently should be fixed.

xcodeprojs could be generated directly from SPM, too.

@ermik
Copy link

ermik commented Nov 27, 2019

Is this a possibility now?

@ApplebaumIan
Copy link
Contributor

Just came across this https://developer.apple.com/documentation/swift_packages/bundling_resources_with_a_swift_package is there anything specific keeping SwiftMonkey from supporting Swift 5.3?

@ApplebaumIan
Copy link
Contributor

I'm running into two issues trying to quickly implement this.

  1. I'm not sure how make SwiftMonkey and SwiftMonkey paws separate packages. If you don't have the Package.swift file at the root of your project Swift Package manager gets angry and says there is no package manifest.
  2. Ignoring the above issue and just testing isolating the package from the project I'm getting this error when trying to run the package in my testing environment ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport' ld: warning: Could not find or use auto-linked framework 'XCTest' I'm assuming this is because XCTest is necessary to compile SwiftMonkey? it's just weird that the package builds on its own but fails to build in a project. I'm not sure how to add XCTest as a dependency to the package however I do think that Swift 5.3 allows for this. Another direction that could be taken is compiling SwiftMonkey as an xcframework and adding that to SPM.

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

No branches or pull requests

3 participants