Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please help. it almost built. butI have no way to corporal. #126

Closed
hudingwen opened this issue Jun 18, 2023 · 1 comment
Closed

please help. it almost built. butI have no way to corporal. #126

hudingwen opened this issue Jun 18, 2023 · 1 comment

Comments

@hudingwen
Copy link

  1. Validate Secrets pass
  2. Add Identifiers pass
  3. Create Certificates pass
  4. Build iAPS error
    I have followed the tutorial, but it still doesn't work, I suspect it is my account problem.
    please help me.
    How should I solve him, I don't have an Apple computer, I can only build it through github actions.

Below is the error logs.

[04:22:03]: $ set -o pipefail && xcodebuild -workspace ./FreeAPS.xcworkspace -scheme FreeAPS\ X -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/runner/Library/Developer/Xcode/Archives/2023-06-18/iAPS\ 2023-06-18\ 04.22.03.xcarchive archive | tee /Users/runner/work/iAPS/iAPS/buildlog/FreeAPS-FreeAPS\ X.log | xcpretty
[04:22:04]: ▸ 2023-06-18 04:22:04.248 xcodebuild[16985:78348] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
[04:22:06]: ▸ 2023-06-18 04:22:06.135 xcodebuild[16985:78348] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x600003cca000: name:langs path:group:langs> Failed to load container at path: /Users/runner/Library/Developer/Xcode/DerivedData/FreeAPS-ffhbcjzbszlapbgzecdzvzprscam/SourcePackages/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/langs, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "langs" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "langs" as a "Swift Package Folder" because it is already open as a "Folder".}
[04:22:15]: ▸ Run script build phase 'Swiftformat' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'FreeAPS' from project 'FreeAPS')
[04:22:15]: ▸ ** ARCHIVE FAILED **
2023-06-18 04:22:04.248 xcodebuild[16985:78348] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
2023-06-18 04:22:06.135 xcodebuild[16985:78348] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x600003cca000: name:langs path:group:langs> Failed to load container at path: /Users/runner/Library/Developer/Xcode/DerivedData/FreeAPS-ffhbcjzbszlapbgzecdzvzprscam/SourcePackages/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/langs, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "langs" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "langs" as a "Swift Package Folder" because it is already open as a "Folder".}
Run script build phase 'Swiftformat' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'FreeAPS' from project 'FreeAPS')
** ARCHIVE FAILED **
[04:22:15]: Exit status: 65
[04:22:15]:

[!] Error building the application - see the log above
[04:22:15]: Maybe the error shown is caused by using the wrong version of Xcode
[04:22:15]: Found multiple versions of Xcode in '/Applications/'
[04:22:15]: Make sure you selected the right version for your project
[04:22:15]: This build process was executed using '/Applications/Xcode_14.3.app'
[04:22:15]: If you want to update your Xcode path, either
[04:22:15]:
[04:22:15]: - Specify the Xcode version in your Fastfile
[04:22:15]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[04:22:15]:
[04:22:15]: - Specify an absolute path to your Xcode installation in your Fastfile
[04:22:15]: ▸ xcode_select "/Applications/Xcode8.app"
[04:22:15]:
[04:22:15]: - Manually update the path using
[04:22:15]: ▸ sudo xcode-select -s /Applications/Xcode.app
[04:22:15]:

+---------------+------------------------------+
| Build environment |
+---------------+------------------------------+
| xcode_path | /Applications/Xcode_14.3.app |
| gym_version | 2.213.0 |
| export_method | app-store |
| sdk | iPhoneOS16.4.sdk |
+---------------+------------------------------+

[04:22:15]: ▸ /Users/runner/work/iAPS/iAPS/FreeAPS.xcodeproj: error: Provisioning profile "match AppStore ru.artpancreas..FreeAPS.watchkitapp.watchkitextension" doesn't match the entitlements file's value for the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'FreeAPSWatch WatchKit Extension' from project 'FreeAPS')
[04:22:15]: ▸ /Users/runner/work/iAPS/iAPS/FreeAPS.xcodeproj: error: Provisioning profile "match AppStore ru.artpancreas.
.FreeAPS" doesn't match the entitlements file's value for the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'FreeAPS' from project 'FreeAPS')
[04:22:15]: ▸ warning: Run script build phase 'Swiftformat' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'FreeAPS' from project 'FreeAPS')
[04:22:15]: ▸ note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'FreeAPS' from project 'FreeAPS')
[04:22:15]: ▸ /Users/runner/work/iAPS/iAPS/FreeAPS.xcodeproj: error: Provisioning profile "match AppStore ru.artpancreas..FreeAPS.watchkitapp" doesn't match the entitlements file's value for the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'FreeAPSWatch' from project 'FreeAPS')
[04:22:15]:
[04:22:15]: ⬆️ Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error
[04:22:15]: 📋 For the complete and more detailed error log, check the full log at:
[04:22:15]: 📋 /Users/runner/work/iAPS/iAPS/buildlog/FreeAPS-FreeAPS X.log
[04:22:15]:
[04:22:15]: Looks like fastlane ran into a build/archive error with your project
[04:22:15]: It's hard to tell what's causing the error, so we wrote some guides on how
[04:22:15]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[04:22:15]: Before submitting an issue on GitHub, please follow the guide above and make
[04:22:15]: sure your project is set up correctly.
[04:22:15]: fastlane uses xcodebuild commands to generate your binary, you can see the
[04:22:15]: the full commands printed out in yellow in the above log.
[04:22:15]: Make sure to inspect the output above, as usually you'll find more error information there
[04:22:15]:
+------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Lane Context |
+------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios build_iAPS |
| KEYCHAIN_PATH | ~/Library/Keychains/fastlane_tmp_keychain |
| ORIGINAL_DEFAULT_KEYCHAIN | "/Users/runner/Library/Keychains/login.keychain-db" |
| LATEST_TESTFLIGHT_BUILD_NUMBER | 1 |
| LATEST_TESTFLIGHT_VERSION | |
| BUILD_NUMBER | 2 |
| SIGH_PROFILE_TYPE | app-store |
| MATCH_PROVISIONING_PROFILE_MAPPING | {"ru.artpancreas.
.FreeAPS"=>"match AppStore ru.artpancreas..FreeAPS", "ru.artpancreas..FreeAPS.watchkitapp"=>"match AppStore ru.artpancreas..FreeAPS.watchkitapp", "ru.artpancreas..FreeAPS.watchkitapp.watchkitextension"=>"match AppStore ru.artpancreas.***.FreeAPS.watchkitapp.watchkitextension"} |
+------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[04:22:15]: Error building the application - see the log above

+------+--------------------------------+-------------+
| fastlane summary |
+------+--------------------------------+-------------+
| Step | Action | Time (in s) |
+------+--------------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | setup_ci | 0 |
| 3 | update_project_team | 0 |
| 4 | app_store_connect_api_key | 0 |
| 5 | latest_testflight_build_number | 0 |
| 6 | increment_build_number | 5 |
| 7 | match | 2 |
| 8 | latest_testflight_build_number | 0 |
| 9 | increment_build_number | 0 |
| 10 | update_code_signing_settings | 0 |
| 11 | update_code_signing_settings | 0 |
| 12 | update_code_signing_settings | 0 |
| 💥 | gym | 81 |
+------+--------------------------------+-------------+

[04:22:15]: fastlane finished with errors
Error: Process completed with exit code 1.

@hudingwen
Copy link
Author

It has been resolved thank you

@hudingwen hudingwen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2023
Jon-b-m pushed a commit that referenced this issue Jul 26, 2024
* Backport of various OmniXXX fixes & removal of extra get pod status commands
OmniBLE #125 & OmniKit #36, fix bolusState & basalDeliveryState use !isFinished() again
OmniKit #36, update OmniKit setStateWithResult() to match OmniBLE version
OmniBLE #126 & OmniKit #37, fix incorrect pod suspended message on bolus after an error
Remove no longer needed APSManager updateStatus() to avoid extra get pod status commands

* Update version number to 4.7.0, by @Jon-b-m
Jon-b-m added a commit that referenced this issue Jul 26, 2024
* Crowdin translations (#768)

* Update Localizable.strings (#773)

* Update Localizable.strings

* Backport of OmniXXX fixes & remove extra get pod status commands (#780)

* Backport of various OmniXXX fixes & removal of extra get pod status commands
OmniBLE #125 & OmniKit #36, fix bolusState & basalDeliveryState use !isFinished() again
OmniKit #36, update OmniKit setStateWithResult() to match OmniBLE version
OmniBLE #126 & OmniKit #37, fix incorrect pod suspended message on bolus after an error
Remove no longer needed APSManager updateStatus() to avoid extra get pod status commands

* Update version number to 4.7.0, by @Jon-b-m

---------

Co-authored-by: Mirko-tri <[email protected]>
Co-authored-by: Joe Moran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant