Created
January 3, 2024 20:14
-
-
Save cmckni3/0b6a4d62f986a2c42c27a36b86762e7e to your computer and use it in GitHub Desktop.
Reset RubyMotion XCode and Clean build project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install XCode before running any commands below | |
# Setup RubyMotion and XCode | |
cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks/ | |
touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged | |
sudo xcodebuild -license accept | |
sudo xcode-select --install | |
sudo xcode-select --reset | |
# In project directory run commands to build | |
rm -rf ./vendor/Pods | |
rm -rf ./vendor/build | |
rm -rf ./build | |
rm -rf ~/Library/RubyMotion | |
rake clean:all | |
rake pod:install | |
# Run project | |
rake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment