mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
5a7bfc61cc
fixes #16310 We used to reply on `react-native cli` and would pass a `--device` flag to deploy the debug variant of `iOS` app on connected `iPhone`. `react-native cli` under the hood uses `ios-deploy` library to achieve this functionality. This showed many weird issues, specifically in locating connected devices and failures at build step with ambiguous error messages. This commit fixes it by using our custom script `run-ios-devices.sh` which does not rely on `ios-deploy`. We use `libimobiledevice` to identify `UDID` of a connected `iPhone`. We use `xcrun devicectl device install app` and `xcrun devicectl device process launch` to install and launch the app. This works well with `Xcode 15` and `iOS 17.x`. We can now remove `ios-deploy` from `iOS` shell and `nix` overlay. We also set up a logs folder and add a Readme. ## Review notes - connect your iPhone to your Laptop via a cable - `make run-clojure` - `make run-ios-device` (note: no need to pass device name now) ## Platforms - iOS
200 lines
2.3 KiB
Plaintext
200 lines
2.3 KiB
Plaintext
# OSX
|
|
#
|
|
.DS_Store
|
|
.projectile
|
|
.cljs_rhino_repl/
|
|
.#*
|
|
|
|
# Xcode
|
|
#
|
|
/ios/.xcode.env.local
|
|
/component-spec
|
|
result/
|
|
build/
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
project.xcworkspace
|
|
|
|
# Android/IJ
|
|
#
|
|
.idea
|
|
.gradle
|
|
*.iml
|
|
**/android/.project
|
|
**/android/.settings/org.eclipse.buildship.core.prefs
|
|
local.properties
|
|
*.hprof
|
|
.cxx/
|
|
*.keystore
|
|
!debug.keystore
|
|
|
|
# Atom
|
|
.tags*
|
|
|
|
# VS Code
|
|
.vscode/
|
|
workspace.code-workspace
|
|
|
|
# node.js
|
|
#
|
|
node_modules/
|
|
node_modules.tmp/
|
|
npm-debug.log
|
|
yarn-error.log
|
|
default.realm/
|
|
|
|
# BUCK
|
|
buck-out/
|
|
\.buckd/
|
|
android/app/libs
|
|
android/app/obj
|
|
android/keystores/debug.keystore
|
|
!debug.keystore
|
|
|
|
# Generated by clj-rn
|
|
#
|
|
index.android.js
|
|
index.ios.js
|
|
target/
|
|
env/dev/env/config.cljs
|
|
externs/
|
|
shim.js
|
|
|
|
# Generated by lein voom
|
|
#
|
|
/pom.xml
|
|
|
|
|
|
# Figwheel
|
|
#
|
|
figwheel_server.log
|
|
.nrepl-port
|
|
|
|
# Lein
|
|
#
|
|
.lein-failures
|
|
.lein-repl-history
|
|
|
|
# Shadow
|
|
.shadow-cljs
|
|
|
|
## Doo
|
|
#
|
|
out
|
|
doo-index.html
|
|
|
|
# Bundler
|
|
.bundle
|
|
|
|
# Status
|
|
Statusgo.framework
|
|
Statusgo.xcframework
|
|
|
|
#ios
|
|
/ios/Pods/
|
|
/ios/logs/
|
|
/ios/StatusIm.xcworkspace
|
|
.ruby-version
|
|
status-e2e/
|
|
|
|
#python
|
|
*.pyc
|
|
*.cache
|
|
|
|
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
|
# screenshots whenever they are needed.
|
|
# For more information about the recommended setup visit:
|
|
# https://docs.fastlane.tools/best-practices/source-control/
|
|
|
|
fastlane/report.xml
|
|
fastlane/Preview.html
|
|
fastlane/screenshots
|
|
fastlane/README.md
|
|
|
|
# Clj
|
|
|
|
.cpcache/
|
|
|
|
# emacs
|
|
.dir-locals.el
|
|
|
|
# We don't use NPM
|
|
/package-lock.json
|
|
/.re-natal
|
|
/re-natal
|
|
|
|
# Jenkins
|
|
pkg
|
|
/BUILD_NUMBER
|
|
|
|
# Conan
|
|
conan*.txt
|
|
conanbuildinfo.*
|
|
conan.cmake
|
|
|
|
# Env
|
|
.env.bkp
|
|
|
|
# nix
|
|
/.ran-setup
|
|
/.nix-gcroots/
|
|
/result
|
|
|
|
# modules
|
|
status-modules/translations
|
|
status-modules/cljs
|
|
status-modules/resources
|
|
|
|
## coverage
|
|
/.nyc_output
|
|
/coverage-report
|
|
|
|
## fiddle
|
|
/fiddle/node_modules/
|
|
/fiddle/target/
|
|
/fiddle/resources/public/images/
|
|
|
|
trace.edn
|
|
|
|
/app/
|
|
project.clj
|
|
|
|
##appium
|
|
test/appium/report/
|
|
result.xml
|
|
test/appium/tests/users.py
|
|
|
|
##node bindings
|
|
/bin/
|
|
/lib/
|
|
|
|
## visual tests
|
|
/artifacts
|
|
|
|
/.calva/
|
|
|
|
## component-tests
|
|
*.log
|
|
|
|
## local xcode env introduced in react-native 0.69
|
|
.xcode.env.local
|
|
|
|
## git hooks
|
|
lefthook.yml
|
|
|
|
## build time logs
|
|
/logs/*.log
|