Bitrise Build Issue Report template
Description of the issue
_Now in order to make the build work, I had to create a new environment variable, to point to the xcworkspace and the original one to point to the xcodeproj. I feel that this is totally a wrong way and not a clean one.
If I point to the xcworkspace only I get this error:
Failed to list shared schemes, error: contents.xcworkspacedata does not exist at: pharmahub/pharmahub.xcworkspace/contents.xcworkspacedata
And yes I am sharing my schemes and they are not ignored
and If I point to xcodeproj then Ill get: framework not found Alamofire
Which make sense because its trying to run the tests from the xcodeproj which is wrong.
Now my question is how can I make recreate-user-schemes step work with pointing to the xcworkspace and seeing the shared schemas.
Because now its working but I feel this is wrong and kinda of workaround.
Thanks
_
Environment:
Where did the issue happen?
Which build Step causes the issue and which version of the step?
recreate-user-schemes
Build log
±-----------------------------------------------------------------------------+
| (1) git-clone@4.0.14 |
±–±--------------------------------------------------------------±---------+
| ✓ | git-clone@4.0.14 | 9.92 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (2) cache-pull@2.0.1 |
±-----------------------------------------------------------------------------+
| id: cache-pull |
| version: 2.0.1 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2019-02-14T03:26:53-08:00 |
±-----------------------------------------------------------------------------+
| |
2019/02/14 03:26:56 Cache pull…
2019/02/14 03:26:56 Failed to get download url, error: Build cache not found. Probably cache not initialised yet (first cache push initialises the cache), nothing to worry about
WARN[03:26:56] Step (cache-pull@2.0.1) failed, but was marked as skippable
| |
±–±--------------------------------------------------------------±---------+
| ! | cache-pull@2.0.1 (exit code: 1) | 5.23 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: Issues · bitrise-steplib/steps-cache-pull · GitHub |
| Source: GitHub - bitrise-steplib/steps-cache-pull: Download Cache |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (3) Do anything with Script step |
±–±--------------------------------------------------------------±---------+
| ✓ | Do anything with Script step | 2.08 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (4) certificate-and-profile-installer@1.10.1 |
±–±--------------------------------------------------------------±---------+
| ✓ | certificate-and-profile-installer@1.10.1 | 7.41 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (5) recreate-user-schemes@1.0.2 |
±–±--------------------------------------------------------------±---------+
| x | recreate-user-schemes@1.0.2 (exit code: 1) | 4.76 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: …hub.com/bitrise-steplib/steps-recreate-user-schemes/issues |
| Source: GitHub - bitrise-steplib/steps-recreate-user-schemes |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (6) cocoapods-install@1.7.2 |
±–±--------------------------------------------------------------±---------+
| - | cocoapods-install@1.7.2 | 1.88 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (7) xcode-test@2.1.1 |
±–±--------------------------------------------------------------±---------+
| - | xcode-test@2.1.1 | 4.37 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (8) deploy-to-bitrise-io@1.3.19 |
±–±--------------------------------------------------------------±---------+
| ✓ | deploy-to-bitrise-io@1.3.19 | 6.85 sec |
±–±--------------------------------------------------------------±---------+
â–¼
±-----------------------------------------------------------------------------+
| (9) cache-push@2.0.5 |
±–±--------------------------------------------------------------±---------+
| - | cache-push@2.0.5 | 1.58 sec |
±–±--------------------------------------------------------------±---------+
±-----------------------------------------------------------------------------+
| bitrise summary |
±–±--------------------------------------------------------------±---------+
| | title | time (s) |
±–±--------------------------------------------------------------±---------+
| ✓ | activate-ssh-key@4.0.3 | 5.02 sec |
±–±--------------------------------------------------------------±---------+
| ✓ | git-clone@4.0.14 | 9.92 sec |
±–±--------------------------------------------------------------±---------+
| ! | cache-pull@2.0.1 (exit code: 1) | 5.23 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: Issues · bitrise-steplib/steps-cache-pull · GitHub |
| Source: GitHub - bitrise-steplib/steps-cache-pull: Download Cache |
±–±--------------------------------------------------------------±---------+
| ✓ | Do anything with Script step | 2.08 sec |
±–±--------------------------------------------------------------±---------+
| ✓ | certificate-and-profile-installer@1.10.1 | 7.41 sec |
±–±--------------------------------------------------------------±---------+
| x | recreate-user-schemes@1.0.2 (exit code: 1) | 4.76 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: …hub.com/bitrise-steplib/steps-recreate-user-schemes/issues |
| Source: GitHub - bitrise-steplib/steps-recreate-user-schemes |
±–±--------------------------------------------------------------±---------+
| - | cocoapods-install@1.7.2 | 1.88 sec |
±–±--------------------------------------------------------------±---------+
| - | xcode-test@2.1.1 | 4.37 sec |
±–±--------------------------------------------------------------±---------+
| ✓ | deploy-to-bitrise-io@1.3.19 | 6.85 sec |
±–±--------------------------------------------------------------±---------+
| - | cache-push@2.0.5 | 1.58 sec |
±–±--------------------------------------------------------------±---------+
| Total runtime: 49 sec |
±-----------------------------------------------------------------------------+
Submitting anonymized usage informations…
For more information visit:
bitrise-plugins-analytics/README.md at master · bitrise-io/bitrise-plugins-analytics · GitHub
exit status 1