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

MacOS Support #12

Open
igorkravchenko opened this issue Mar 13, 2019 · 2 comments
Open

MacOS Support #12

igorkravchenko opened this issue Mar 13, 2019 · 2 comments

Comments

@igorkravchenko
Copy link

Is there some constraints on adding MacOS support to podspec?

@a-voronov
Copy link
Owner

Nope, just haven’t tested on it.
If it works for you on macos - feel free to add PR and we’ll merge it

@igorkravchenko
Copy link
Author

igorkravchenko commented Mar 14, 2019

Sure - I've added s.osx.deployment_target = '10.14' to podspec and run 'pod spec lint' in console. Unfortunately it fails for me during building ReactiveSwift. I haven't figured out the fix for it yet. Here's the failing part of the verbose version from spec linter log:

` PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/igorkravchenko/Library/Developer/Xcode/DerivedData/App-cdogojfxtexdyzdvxvfseeypnrzg/Build/Intermediates.noindex/App.build/Release/App.build/Script-43570DA1BD9B3F8D50760D1C.sh (in target: App)
cd /var/folders/z1/8mzwv0kx7s5fwljq33jv7s4c0000gn/T/CocoaPods-Lint-20190314-79720-1pi6s2c-SwiftyRedux
/bin/sh -c /Users/igorkravchenko/Library/Developer/Xcode/DerivedData/App-cdogojfxtexdyzdvxvfseeypnrzg/Build/Intermediates.noindex/App.build/Release/App.build/Script-43570DA1BD9B3F8D50760D1C.sh
mkdir -p /Users/igorkravchenko/Library/Developer/Xcode/DerivedData/App-cdogojfxtexdyzdvxvfseeypnrzg/Build/Products/Release/App.app/Contents/Frameworks
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/igorkravchenko/Library/Developer/Xcode/DerivedData/App-cdogojfxtexdyzdvxvfseeypnrzg/Build/Products/Release/ReactiveSwift/ReactiveSwift.framework" "/Users/igorkravchenko/Library/Developer/Xcode/DerivedData/App-cdogojfxtexdyzdvxvfseeypnrzg/Build/Products/Release/App.app/Contents/Frameworks"
building file list ...
done
ReactiveSwift.framework/
ReactiveSwift.framework/ReactiveSwift -> Versions/Current/ReactiveSwift
ReactiveSwift.framework/Resources -> Versions/Current/Resources
ReactiveSwift.framework/Versions/
ReactiveSwift.framework/Versions/Current -> A
ReactiveSwift.framework/Versions/A/
ReactiveSwift.framework/Versions/A/ReactiveSwift
ReactiveSwift.framework/Versions/A/Resources/
ReactiveSwift.framework/Versions/A/Resources/Info.plist

sent 1953327 bytes  received 106 bytes  3906866.00 bytes/sec
total size is 1952642  speedup is 1.00
/var/folders/z1/8mzwv0kx7s5fwljq33jv7s4c0000gn/T/CocoaPods-Lint-20190314-79720-1pi6s2c-SwiftyRedux/Pods/Target Support Files/Pods-App/Pods-App-frameworks.sh: line 104: EXPANDED_CODE_SIGN_IDENTITY: unbound variable
Command PhaseScriptExecution failed with a nonzero exit code

** BUILD FAILED **

`

Let me know if you have some suggestions on steps I should take to address the issue.

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

No branches or pull requests

2 participants