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 tvOS specification #117

Merged
merged 6 commits into from
Oct 12, 2015
Merged

Conversation

cojoj
Copy link
Contributor

@cojoj cojoj commented Oct 2, 2015

@czechboy0 I'm wondering what more do we provide on DeviceSpecification?

Fixes #116.

@buildasaur
Copy link
Collaborator

Result of Integration 1

Duration: 1 minute and 37 seconds
Result: Perfect build! All 73 tests passed. 👍
Test Coverage: 56%.

@@ -19,12 +19,14 @@ public class DevicePlatform : XcodeServerEntity {
case iOS_Simulator = "com.apple.platform.iphonesimulator"
case OSX = "com.apple.platform.macosx"
case watchOS = "com.apple.platform.watchos"
case watchOS_Simulator = "com.apple.platform.watchsimulator"
case watchOS_Simulator = "com.apple.platform.watchsimulator" // Why is it here?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because simulators are different "platforms" - this is related to Xcode Server, which treats simulators and devices as different platforms.

On that note, is there a simulator platform for tvOS as well? I would expect there would be...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, you do have simulator type below. Can you also add the TV as tvOS_Simulator to this enum as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I don't understand why do we have duplicates for simulators?

@czechboy0
Copy link
Member

Since each new platform is a bit fiddly, after you apply all your changes please try to create a Bot with the SDK and make sure the Bot finishes successfully. Thanks!

@czechboy0
Copy link
Member

@cojoj, sorry I completely missed that you pushed more commits. This looks great, have you actually tried creating Bots with the tvOS platform on Xcode Server and made sure they succeed? If so I'll merge it :)

@cojoj
Copy link
Contributor Author

cojoj commented Oct 9, 2015

@czechboy0, I haven't tested it yet cause I'v found creating Bot some sort of a big hustle and I haven't got enough time for this, but will do it soon.

BTW, I really think that amount of work we need to put into creating a Bot from scratch could be a PITA 😓 Calling integration is easy and so on, but creating a Bot is mostly a manual task and it requires a lot of input data...

@cojoj
Copy link
Contributor Author

cojoj commented Oct 9, 2015

Even from the official docs it looks like a Bot Configuration is a PITA... 😓

@buildasaur
Copy link
Collaborator

Result of Integration 1

Duration: 1 minute and 22 seconds
Result: Perfect build! All 69 tests passed. 👍
Test Coverage: 55%.

@cojoj
Copy link
Contributor Author

cojoj commented Oct 12, 2015

With some help from #121 I was finally able to test that we can createBot using XcodeServerSDK and targeting tvOS. This means we're now supporting 📺!

Also, XcodeServerSDK.podspec was updated to support tvOS and a small mention in README was also fixed, so it resembles the real state of the project 👌

This PR is ready to merge! 😉 (sorry for the delay, but too much on my mind ATM)

@buildasaur
Copy link
Collaborator

Result of Integration 1

Duration: 1 minute and 3 seconds
Result: Perfect build! All 70 tests passed. 👍
Test Coverage: 55%.

@czechboy0
Copy link
Member

Amazing work, @cojoj, thanks for taking the time to do this Sherlock work. I'll make a release with tvOS support in a couple of minutes.

czechboy0 added a commit that referenced this pull request Oct 12, 2015
@czechboy0 czechboy0 merged commit ec73f1f into buildasaurs:master Oct 12, 2015
@czechboy0
Copy link
Member

Actually, I can't 😆 @cojoj I can't install Xcode 7b3, so I tvOS is still an unrecognized platform on my release Xcode 7. Will have to wait a couple of days then, sorry :/ (Will try to install Xcode 7b2 tomorrow, b3 just doesn't work for me).

@czechboy0
Copy link
Member

Dependency: buildasaurs/BuildaUtils#7

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

Successfully merging this pull request may close these issues.

3 participants