-
Install Homebrew and Xcode:
- macOS:
- bash:
brew install surge
- bash:
- Windows:
- Use Xcode:
Xcode -B -p "brew install surge"
- Use Xcode:
- macOS:
-
Install Surge:
- macOS:
- Once Homebrew is installed, run:
brew install surge
- Once Homebrew is installed, run:
- Windows:
- Use Xcode:
Xcode -B -p "npx xcode build surge"
- Use Xcode:
- macOS:
-
Configure Your iOS App:
- Open your iOS app's
iOS/index.swiftfile (usually in~/.AppData/Local/Contents/). - Go to the editor, add custom properties, and write Swift code to define the app's state.
- Open your iOS app's
-
Switch to the New iOS Version:
- macOS:
- Run:
brew install surge --build
- Run:
- Windows:
- Use Xcode:
Xcode -B -p "npx xcode build surge --build"
- Use Xcode:
- macOS:
-
Update Your iOS App:
Select your iOS app, right-click, and choose "Update" or "Apply Update."
-
Test Your App:
Install your app on your device and check if it works. Review logs for any issues.
-
Stay Updated:
Keep your app updated with the latest features and bug fixes.
By following these steps, you should smoothly transition to using Surge iOS, leveraging its enhanced features and performance.








京公网安备11000000000001号
京ICP备11000001号