Skip to content

Instantly share code, notes, and snippets.

@cmckni3
Created January 3, 2024 20:14
Show Gist options
  • Save cmckni3/0b6a4d62f986a2c42c27a36b86762e7e to your computer and use it in GitHub Desktop.
Save cmckni3/0b6a4d62f986a2c42c27a36b86762e7e to your computer and use it in GitHub Desktop.
Reset RubyMotion XCode and Clean build project
# 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