Closed 1ec5 closed 5 years ago
CocoaPods purposely doesn’t provide a way to add a build phase to the application target (CocoaPods/CocoaPods#2326), but it might be possible to do it ourselves via the xcodeproj
gem.
Did you ever end up using the prepare_command? To get the runscript build phase up and running? Couldnt find in your PR which was merged @1ec5
We haven't landed any work related to this PR, which is why the issue is still open. One of the unresolved questions around this idea is that the first pod install
would require user intervention. That could be a dealbreaker for any application that needs to run in an automated fashion, whether on Xcode Server or Bitrise.
Yeah i just was led here by another issue talking about prepare_command and Runscripts, so thought you might had done something about it in the merged PR on this issue.
Ah, sorry, https://github.com/mapbox/mapbox-gl-native/pull/3183#issuecomment-166713154 merely referred to this idea as an alternative to displaying a checklist for the developer to follow in the IB designable that this framework vends.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
To eliminate any friction that might arise from having to set an access token, the Mapbox iOS SDK should automate the recommended process for completely private access tokens.
prepare_command
, run a script that opens the access token manager, prompts for an access token, and writes it to a file in the user’s home directory.This approach will facilitate sharing Mapbox-powered code bases with others as open source projects, if desired, without compromising access token security.
/cc @incanus @lxbarth @friedbunny @bsudekum