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

Add a shared Xcode scheme for the Spring framework target #13

Merged
merged 4 commits into from
Feb 8, 2015

Conversation

rastersize
Copy link
Contributor

This PR adds a shared Xcode scheme for the Spring framework target. Such a file makes Spring work with Carthage (a dependency manager) as well as potentially continuous integration systems like Travis-CI*.

Further it removes a few Xcode project files which were committed to the repository before the git ignore file was added. Lastly the PR will also decrease the deployment target of the Spring framework target to iOS 8.0. It was set to 8.1 before while the SpringApp target was set to 8.0.

*) This would still require some more addition to the repository as well as configuring such system and the GitHub repository.

- They are specific to each user who clones and checks out the project.
- They are specific to each user who clones and checks out the project.
- The SpringApp target already had this iOS 8.0 as its target. This
changes makes both of the use the same.
@jamztang
Copy link
Contributor

jamztang commented Feb 1, 2015

Carthage build the branch correctly, but I'm seeing this error message.

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /private/var/mobile/Containers/Bundle/Application/19B1CF62-41DC-4BBA-9969-38460E44BCB4/ObjectiveSpring.app/Frameworks/Spring.framework/Spring
  Reason: image not found

I followed suggested steps from stackoverflow but it doesn't solve my problem.

I'm not sure if there's more thing to do with the setup or it's the problem of Carthage.
My sample project is attached here

@clooth
Copy link

clooth commented Feb 4, 2015

I didn't see any problems with this. I forked Spring, added the shared scheme and used that with Carthage and it worked just fine.

Edit: It might be due to my project being Swift from the beginning? Not sure.

Edit 2: It seems as if you need to tick the Xcode project to tell that there is Swift code included in the project before it works.

Is this only on your objective-c sample project?

@jamztang
Copy link
Contributor

jamztang commented Feb 4, 2015

Possibly on an Objective-C project. We'll get a try and revert.

@jamztang
Copy link
Contributor

jamztang commented Feb 8, 2015

Yes it's working on an Swift based project. There's still issues when I tried using Spring this way, we shall further discuss in #11

jamztang added a commit that referenced this pull request Feb 8, 2015
Add a shared Xcode scheme for the Spring framework target
@jamztang jamztang merged commit 490a266 into MengTo:master Feb 8, 2015
@schneiderandre schneiderandre mentioned this pull request Feb 8, 2015
@rastersize rastersize deleted the add-carthage-support branch February 9, 2015 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants