Closed ssxray closed 4 months ago
Is this happening when you run skip init
? Can you post the complete command you are running?
It may be that there is some invalid character in your appid
or project name. Does the error occur if you run this exact command?
skip init --open-xcode --appid=bundle.id project-name HelloSkip
Oh wait, I think the problem might be your ~/.skiptools/skipkey.env
file. If you have a license key in there, can you make sure the file is valid YAML, like so:
SKIPKEY: SKP1234
Yes it is. I first tried to use a different project name, and got the same error. Then I ran that exact command (copied and pasted from the instructions) and again got the same error. But, you got it entirely right: The skipkey.env file had a carriage return after SKIPKEY: (as it was shown in my subscription confirmation email) so that it looked like: SKIPKEY: SKP1234 When I removed the carriage return, that error was eliminated. Unfortunately the xcode project still had errors. (The two other issues: Execution failed for task ':app:installDebug' and The gradle command failed. Review the log for details and consult https://skip.tools/docs/faq for common solutions. Command: gradle -p ../Android launchDebug)
Glad to hear that fixing the skipkey.env file resolved the first problem.
The subsequent Xcode error should have references a log file you can examine for more details. One common issue is that an Android emulator isn't currently running – if you don't already have one running, can you start one by running Android Studio, opening the Device Manager, and starting one of the emulators?
I did have the Android emulator running, but this was a Pixel 2 emulator. Could that be part of the problem? Thanks! Norm
From: marcprux @.> Sent: Friday, April 26, 2024 12:29 PM To: skiptools/skip @.> Cc: ssxray @.>; Author @.> Subject: Re: [skiptools/skip] skip checkup passes, but I'm unable to compile HelloSkip (Issue #111)
Glad to hear that fixing the skipkey.env file resolved the first problem. The subsequent Xcode error should have references a log file you can examine for more details. One common issue is that an Android emulator isn't currently running – if you don't already have one running, can you start one by running Android Studio, opening the Device Manager, and starting one of the emulators? — Reply to this email directly, view it on GitHub https://github.com/skiptools/skip/issues/111#issuecomment-2079798408 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7H7SCV3SIERTEY53TAVODY7KFHNAVCNFSM6AAAAABG3DBSPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZG44TQNBQHA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AF7H7SGGYGLSIKKILKOQJXLY7KFHNA5CNFSM6AAAAABG3DBSPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT3642IQ.gif Message ID: @. @.> >
Not sure - if you post the log as an attachment, we can take a look
Hi Abe,
I’m back on track. What I had to do to get this to work was the following:
Thanks for your help!
Best regards,
Norm
From: Abe White @.> Sent: Monday, April 29, 2024 9:31 AM To: skiptools/skip @.> Cc: ssxray @.>; Author @.> Subject: Re: [skiptools/skip] skip checkup passes, but I'm unable to compile HelloSkip (Issue #111)
Not sure - if you post the log as an attachment, we can take a look
— Reply to this email directly, view it on GitHub https://github.com/skiptools/skip/issues/111#issuecomment-2082905644 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7H7SBJI23GOCA2UODRII3Y7ZKRFAVCNFSM6AAAAABG3DBSPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSHEYDKNRUGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AF7H7SHZ7JOVJGLXZ4J3ZU3Y7ZKRFA5CNFSM6AAAAABG3DBSPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4E2PCY.gif Message ID: @. @.> >
Glad you got it working! And thanks for the details. It definitely helps us provide better support in the future.
On Apr 29, 2024, at 3:55 PM, ssxray @.***> wrote:
Hi Abe,
I’m back on track. What I had to do to get this to work was the following:
- Remove the carriage return after SKIPKEY: so that the license key was on the same line
- Upgrade the Android device manager to an API of 32 (it had been on 28).
- Remove multiple programs from my Macbook Pro to get enough disk space.
Thanks for your help!
Best regards,
Norm
From: Abe White @.> Sent: Monday, April 29, 2024 9:31 AM To: skiptools/skip @.> Cc: ssxray @.>; Author @.> Subject: Re: [skiptools/skip] skip checkup passes, but I'm unable to compile HelloSkip (Issue #111)
Not sure - if you post the log as an attachment, we can take a look
— Reply to this email directly, view it on GitHub https://github.com/skiptools/skip/issues/111#issuecomment-2082905644 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7H7SBJI23GOCA2UODRII3Y7ZKRFAVCNFSM6AAAAABG3DBSPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSHEYDKNRUGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AF7H7SHZ7JOVJGLXZ4J3ZU3Y7ZKRFA5CNFSM6AAAAABG3DBSPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4E2PCY.gif Message ID: @. @.> >
— Reply to this email directly, view it on GitHub https://github.com/skiptools/skip/issues/111#issuecomment-2083646364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5ILUV2MWVTRMOTMNBG4C3Y72XVDAVCNFSM6AAAAABG3DBSPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGY2DMMZWGQ. You are receiving this because you commented.
Discussed in https://github.com/skiptools/skip/discussions/98
I'm having the same issue. Skip checkup works fine. When I run Hello skip the build fails - [✗] Build hello-skip (24.08s), [✗] Skip 0.8.36 init failed with 1 error, and the error in the output file states: note: Skip 0.8.36: transpile plugin to: /Users/ssxray/hello-skip/.build/plugins/outputs/hello-skip/HelloSkip/skipstone/HelloSkip/src/main at 09:46:13 error: An error occurred while performing transpilation: expected colon, near "" Error: expected colon, near "" Any suggestions? skip-init-2024-04-26T14:44:57Z.txt