Some checks failed
CI / Scraper / Lint (pull_request) Successful in 13s
CI / UI / Build (pull_request) Successful in 17s
iOS CI / Test (push) Has been cancelled
iOS CI / Build (push) Has been cancelled
CI / UI / Docker Push (pull_request) Has been skipped
CI / Scraper / Test (pull_request) Successful in 20s
CI / Scraper / Docker Push (pull_request) Has been skipped
iOS CI / Build (pull_request) Has been cancelled
iOS CI / Test (pull_request) Has been cancelled
iOS Release / Release to TestFlight (push) Failing after 1m1s
33 lines
844 B
Bash
Executable File
33 lines
844 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Test script for local iOS build iteration
|
|
# Run from ios/LibNovel directory
|
|
|
|
echo "=== Generating Xcode project ==="
|
|
xcodegen generate --spec project.yml --project .
|
|
|
|
echo ""
|
|
echo "=== Listing available provisioning profiles ==="
|
|
ls -la ~/Library/MobileDevice/Provisioning\ Profiles/ || echo "No profiles found"
|
|
|
|
echo ""
|
|
echo "=== Listing available signing identities ==="
|
|
security find-identity -v -p codesigning
|
|
|
|
echo ""
|
|
echo "=== Attempting archive build ==="
|
|
xcodebuild archive \
|
|
-project LibNovel.xcodeproj \
|
|
-scheme LibNovel \
|
|
-configuration Release \
|
|
-destination 'generic/platform=iOS' \
|
|
-archivePath ./build/LibNovel.xcarchive \
|
|
-allowProvisioningUpdates \
|
|
CODE_SIGN_STYLE=Manual \
|
|
CODE_SIGN_IDENTITY="Apple Distribution" \
|
|
DEVELOPMENT_TEAM="GHZXC6FVMU"
|
|
|
|
echo ""
|
|
echo "=== Build succeeded! ==="
|