Skip to content

Commit

Permalink
TestFlight app should point to dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlauzon committed Apr 24, 2024
1 parent 9460c24 commit eadb0dc
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 11 deletions.
8 changes: 4 additions & 4 deletions ios/OneBoulder.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 234;
CURRENT_PROJECT_VERSION = 240;
DEVELOPMENT_TEAM = 3T54379S3F;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 3T54379S3F;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -495,7 +495,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 234;
CURRENT_PROJECT_VERSION = 240;
DEVELOPMENT_TEAM = 3T54379S3F;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 3T54379S3F;
INFOPLIST_FILE = OneBoulder/Info.plist;
Expand Down Expand Up @@ -550,7 +550,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 234;
CURRENT_PROJECT_VERSION = 240;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
Expand Down Expand Up @@ -628,7 +628,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 234;
CURRENT_PROJECT_VERSION = 240;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
Expand Down
2 changes: 1 addition & 1 deletion ios/OneBoulder/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>234</string>
<string>240</string>
<key>GIDClientID</key>
<string>736398426108-lkn7772ig4e71fg9td8149kra82la7q5.apps.googleusercontent.com</string>
<key>INIntentsSupported</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/OneBoulderTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>234</string>
<string>240</string>
</dict>
</plist>
5 changes: 5 additions & 0 deletions ios/fastlane/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ GYM_WORKSPACE=OneBoulder.xcworkspace
APP_IDENTIFIER=one.oneboulder.oneboulder
APP_STORE_CONNECT_API_KEY_KEY_ID=6WJ3Q6X4AM
APP_STORE_CONNECT_API_KEY_ISSUER_ID=fb19d834-6af2-4060-8b07-c8408afa2fdd

MATCH_TYPE=appstore
GYM_EXPORT_METHOD=app-store
GYM_CODE_SIGNING_IDENTITY="iPhone Distribution"
FL_PROVISIONING_PROFILE_SPECIFIER="match AppStore ${APP_IDENTIFIER}"
13 changes: 9 additions & 4 deletions ios/fastlane/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
MATCH_TYPE=development
GYM_EXPORT_METHOD=development
GYM_CODE_SIGNING_IDENTITY="iPhone Developer"
FL_PROVISIONING_PROFILE_SPECIFIER="match Development ${APP_IDENTIFIER}"
API_URL=https://dev.onelocal.one/api

# These settings don't allow pushing to App Store Connect, so they might
# not be useful at all.

# MATCH_TYPE=development
# GYM_EXPORT_METHOD=development
# GYM_CODE_SIGNING_IDENTITY="iPhone Developer"
# FL_PROVISIONING_PROFILE_SPECIFIER="match Development ${APP_IDENTIFIER}"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"test": "jest",
"pod": "cd ios && pod install && cd ..",
"build:android": "cd android && ./gradlew app:assembleRelease && cd ..",
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'"
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'",
"testflight": "cd ios && NODE_ENV=development bundle exec fastlane beta --env development && cd .."
},
"dependencies": {
"@invertase/react-native-apple-authentication": "^2.3.0",
Expand Down

0 comments on commit eadb0dc

Please sign in to comment.