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

Infer and automatically filter devices based on target type #77

Closed
czechboy0 opened this issue Jun 28, 2015 · 4 comments
Closed

Infer and automatically filter devices based on target type #77

czechboy0 opened this issue Jun 28, 2015 · 4 comments

Comments

@czechboy0
Copy link
Member

Pull from scheme -> id -> project -> buildConfigurations -> take first -> find XCBuildConfiguration. Look for IPHONEOS_DEPLOYMENT_TARGET and MACOSX_DEPLOYMENT_TARGET (probably also something like WATCHOS_DEPLOYMENT_TARGET. This should indicate the type of a target.

@czechboy0
Copy link
Member Author

Hahaaaa: xcodebuild -scheme SchemeName -showBuildSettings 2>/dev/null | egrep '^\s*PLATFORM_NAME' | cut -d = -f 2 | uniq | xargs echo

@czechboy0
Copy link
Member Author

Special thanks to @0xced!

@czechboy0
Copy link
Member Author

Fixed in #78.

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

No branches or pull requests

1 participant