Git Product home page Git Product logo

Comments (14)

cojoj avatar cojoj commented on July 17, 2024

I really have no experience with Carthage but can take a look at this issue 😉
As far as I know, the should be safe and sound with Carthage support at the current state but...

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

Here's how it looks like...

When I create OS X application from master, which is 0.0.4 right now and supports Swift 1.2 I'm able to use everything without any complications and the whole process is pretty straight forward so I think that if we're telling people master is our working code we can put the badge in README.

I've tried to use swift-2 branch and integrate it with iOS application, unfortunately, without luck. Carthage built everything with no issues but when it became to importing framework into project Xcode was telling me that it cannot find module XcodeServerSDK...

I'll try to integrate swift-2 with OS X application and let you know about the results.

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

OS X El Capitan and swift-2 is working like a charm... We're missing iOS support at the moment 😓

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

screen shot 2015-06-22 at 12 09 01

@esttorhe any ideas

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

Searching, searching, searching and... Found it. Seems like iOS projects in Xcode 7.0 has some sort of issue/bug and you need to manually provide Framework search paths. I found the solution in this issue.

So, after specifying Build settings → Framework search paths → $(PROJECT_DIR)/Carthage/Build/iOS/ I get it working in iOS Application.

I know, picture or didn't happen...
screen shot 2015-06-22 at 12 34 26


Another thing about Carthage... Now, everytime you call carthage update you're downloading source code and building it locally. We can skip this part by tagging stable releases what is pointed in Carthage's README.
One more thing, @czechboy0 need to add DevelopmentTeam, CODE_SIGN_IDENTITY and PROVISIONING_PROFILE to iOS target.

from xcodeserversdk.

esttorhe avatar esttorhe commented on July 17, 2024

Also remember if you are rolling Carthage support to add the Build Phase that executes Carthage's script that copies the frameworks to the target or if you want to; create a Copy Phase that moves the dependencies to the «Frameworks» «folder»

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

@esttorhe I've added the script to build phase but this only apply to iOS version and still was throwing No module error. As I've mentioned above, there's some sort of bug in current beta (confirmed by Apple) with copying of third party framework which can be fixed by providing path manually.

To sum up, we have no power here!

from xcodeserversdk.

esttorhe avatar esttorhe commented on July 17, 2024

yeah; I wasn't implying that was the issue; just wanted to remind anyone reading this 👀 that you need to execute the script or add the copy phase


Edit: Would be good to add a link to where Apple «documented» the confirmed bug; perhaps an openradar link or something else

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

Ha, that's a great question... I found this in Carthage's issue and guy was caliming that he asked Apple engineer about this during DubDub, so... 😜

from xcodeserversdk.

esttorhe avatar esttorhe commented on July 17, 2024

Just wanted to throw my 2 cents in here.

I don't think there's a need for the addition of DevelopmentTeam, CODE_SIGN_IDENTITY and/or PROVISIONING_PROFILE to support Carthage.

Also; I think we are good to go to add the badge on the README.

Proof that this is working is a current project of mine https://github.com/esttorhe/Watch_BotLauncher

That's using my ᴡᴀᴛᴄʜ branch of XcodeServerSDK with Carthage and I'm currently including iOS and ᴡᴀᴛᴄʜ dependencies into my targets.

PS. Albeit; there's no code in my project yet (first I needed some things from this framework; e.g.: iOS and ᴡᴀᴛᴄʜ support ;) ) but you can see that it downloaded the source and compiled accordingly.

from xcodeserversdk.

czechboy0 avatar czechboy0 commented on July 17, 2024

All works, according to @esttorhe. We also declare it in our readme as of #34.

from xcodeserversdk.

esttorhe avatar esttorhe commented on July 17, 2024

See; another great thing about CHANGELOG; know who to blame when something doesn't work 😂

from xcodeserversdk.

czechboy0 avatar czechboy0 commented on July 17, 2024

Yup, I was very careful with the wording above to put you and you alone in the spotlight 💃

from xcodeserversdk.

cojoj avatar cojoj commented on July 17, 2024

So, we're officially supporting Carthage buth where's the badge? 😜

from xcodeserversdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.