Skip to content

Commit

Permalink
update xcode15
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleychen committed May 23, 2024
1 parent d6d1131 commit b6e284b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/script/ExportOptionsDevelop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>compileBitcode</key>
<false/>
<key>method</key>
<string>development</string>
<string>debugging</string>
<key>provisioningProfiles</key>
<dict>
<key>com.tencent.iot.explorer.link.opensource</key>
Expand Down
2 changes: 1 addition & 1 deletion .github/script/ExportOptionsSDKDemoDevelop.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>compileBitcode</key>
<false/>
<key>method</key>
<string>development</string>
<string>debugging</string>
<key>provisioningProfiles</key>
<dict>
<key>com.tencent.iot.explorer.link.sdkdemo</key>
Expand Down
2 changes: 1 addition & 1 deletion .github/script/archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rm *.ipa

xcodebuild clean -workspace TIoTLinkKit.xcworkspace -scheme LinkApp -configuration Release

xcodebuild archive -workspace TIoTLinkKit.xcworkspace -scheme LinkApp -configuration Release -archivePath LinkApp.xcarchive -UseModernBuildSystem=NO
xcodebuild archive -workspace TIoTLinkKit.xcworkspace -scheme LinkApp -destination 'platform=iOS Simulator,name=iPhone 15' -configuration Release -archivePath LinkApp.xcarchive #-UseModernBuildSystem=NO

if [ $1 == 'Debug' ]; then
xcodebuild -exportArchive -archivePath LinkApp.xcarchive -exportOptionsPlist .github/script/ExportOptionsDevelop.plist -exportPath ./
Expand Down
2 changes: 1 addition & 1 deletion .github/script/sdkDemoArchive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sed -i "" "s/LinkSDKDemo_VERSION.*/LinkSDKDemo_VERSION = $rb+git.$rc/g" Source/L

xcodebuild clean -workspace TIoTLinkKit.xcworkspace -scheme LinkSDKDemo -configuration Release

xcodebuild archive -workspace TIoTLinkKit.xcworkspace -scheme LinkSDKDemo -configuration Release -archivePath LinkSDKDemo.xcarchive -UseModernBuildSystem=NO
xcodebuild archive -workspace TIoTLinkKit.xcworkspace -scheme LinkSDKDemo -destination 'platform=iOS Simulator,name=iPhone 15' -configuration Release -archivePath LinkSDKDemo.xcarchive #-UseModernBuildSystem=NO

xcodebuild -exportArchive -archivePath LinkSDKDemo.xcarchive -exportOptionsPlist .github/script/ExportOptionsSDKDemoDevelop.plist -exportPath ./

Expand Down

0 comments on commit b6e284b

Please sign in to comment.