sentry-demos / ios

iOS Empower Plant
1 stars 4 forks source link

Deploy script: attempt 2 #50

Closed realkosty closed 1 year ago

realkosty commented 1 year ago

Implements all PR comments (except for craft) from https://github.com/sentry-demos/ios/pull/35 plus rebased

Testing

Successfully deployed this other PR using it: https://github.com/sentry-demos/ios/pull/51 sample event - note se:tda in tags

...
[EmpowerPlant] Linking EmpowerPlant
[EmpowerPlant] Processing Info.plist
[EmpowerPlant] Generating EmpowerPlant.app.dSYM
[EmpowerPlant] Running script [CP] Embed Pods Frameworks
[EmpowerPlant] Running script [Sentry] Upload debug symbols
Signing EmpowerPlant.app (in target 'EmpowerPlant' from project 'EmpowerPlant')
[EmpowerPlant] Touching EmpowerPlant.app
⚠️  /Users/kosty/home/ios/Pods/Pods.xcodeproj: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.0.99. (in target 'Pods-EmpowerPlant' from project 'Pods')
note: Run script build phase '[Sentry] Upload debug symbols' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'EmpowerPlant' from project 'EmpowerPlant')
/Users/kosty/home/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.0.99. (in target 'SentryPrivate' from project 'Pods')
⚠️  /Users/kosty/home/ios/Pods/Pods.xcodeproj: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.0.99. (in target 'Sentry' from project 'Pods')
** BUILD SUCCEEDED **

zip -r EmpowerPlant_release.zip ./build/Build/Products/Release-iphonesimulator/EmpowerPlant.app
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/_CodeSignature/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/_CodeSignature/CodeResources (deflated 73%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/UINavigationController-zLm-2U-p5i.nib (deflated 42%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/VXN-aD-u60-view-POk-yY-fGn.nib (deflated 67%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/UIViewController-VXN-aD-u60.nib (deflated 36%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib (deflated 40%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/a38-3e-3Io-view-08s-ul-IVG.nib (deflated 35%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/UIViewController-a38-3e-3Io.nib (deflated 35%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/Main.storyboardc/Info.plist (deflated 49%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/LaunchScreen.storyboardc/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib (deflated 38%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib (deflated 35%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Base.lproj/LaunchScreen.storyboardc/Info.plist (deflated 42%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Model.momd/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Model.momd/VersionInfo.plist (deflated 20%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Model.momd/Model.mom (deflated 33%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/EmpowerPlant (deflated 77%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/SentryPrivate.framework/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/SentryPrivate.framework/_CodeSignature/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/SentryPrivate.framework/_CodeSignature/CodeResources (deflated 77%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/SentryPrivate.framework/Info.plist (deflated 29%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/SentryPrivate.framework/SentryPrivate (deflated 77%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/Sentry.framework/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/Sentry.framework/_CodeSignature/ (stored 0%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/Sentry.framework/_CodeSignature/CodeResources (deflated 77%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/Sentry.framework/Sentry (deflated 69%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Frameworks/Sentry.framework/Info.plist (deflated 29%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/Info.plist (deflated 38%)
updating: build/Build/Products/Release-iphonesimulator/EmpowerPlant.app/PkgInfo (stored 0%)

Build completed. Create a new release in GitHub and upload ./EmpowerPlant_release.zip.
https://github.com/sentry-demos/ios/releases/tag/0.0.11.1
Release created successfully with version 0.0.11.1!