Comments (31)
➜ ~ xcode-select -p /Library/Developer/CommandLineTools
So I am assuming I need possibly to redownload my command line tools? Xcode builds any previous projects just fine. I have deleted previous derived data. Thoughts?
You just need to point xcode-select at Xcode rather than at CommandLineTools.
xcode-select -s /Applications/Xcode.app/Contents/Developer
from skip.
Same Issue.
Intel Mac mini 2018
Skip doctor works fine
Skip Doctor
[✓] Skip version 0.7.16 (= 0.7.16)
[✓] macOS version 14.1 (> 13.5.0)
[✓] Swift version 5.9 (= 5.9.0)
[✓] Xcode version 15.0.1 (> 15.0.0)
[✓] Homebrew version 4.1.18 (> 4.1.0)
[✓] Gradle version 8.4 (> 8.3.0)
[✓] Java version 17.0.9 (> 17.0.0)
[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2022.3
[✓] Check Skip Updates: 0.7.16
[✓] Skip (0.7.16) checks complete
But checkup make attention to Kotlin test
[✓] Skip version 0.7.16 (= 0.7.16)
[✓] macOS version 14.1 (> 13.5.0)
[✓] Swift version 5.9 (= 5.9.0)
[✓] Xcode version 15.0.1 (> 15.0.0)
[✓] Homebrew version 4.1.18 (> 4.1.0)
[✓] Gradle version 8.4 (> 8.3.0)
[✓] Java version 17.0.9 (> 17.0.0)
[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2022.3
[✓] Create project hello-skip (5.06s)
[✓] Resolve dependencies (18.22s)
[✓] Build hello-skip (45.23s)
[✓] Test Swift (19.59s)
[✗] Test Kotlin (28.74s)
[✓] Archive iOS ipa (35.74s)
[✓] Assemble HelloSkip-release.ipa (0.03s)
[✓] Verify HelloSkip-release.ipa 23 KB
[✗] Assembling Android apk (4.73s)
[✗] Verify HelloSkip-release.apk: The file “HelloSkip-release-unsigned.apk” couldn’t be opened because there is no such file.
[✗] Skip 0.7.16 checkup (158.55s)
Error: 4 errors
I reinstalled Android Studio using brew, reinstalled java and kotlin, nothing helps.
@narendrajagne how do you resolved this?
from skip.
It looks like you still had skip 0.8.2 (which exhibited this problem), and that the upgrade to 0.8.4 didn't take place. We've seen a couple of other reports of this … can you try first running brew update
and then brew upgrade skip
, and then run skip checkup
and make sure that it is 0.8.4 running?
from skip.
I have the same problem...
from skip.
it resolved now
JAVA_HOME= skip checkup
[✓] Skip version 0.7.15 (= 0.7.15)
[✓] macOS version 14.0 (> 13.5.0)
[✓] Swift version 5.9 (= 5.9.0)
[✓] Xcode version 15.0 (= 15.0.0)
[✓] Homebrew version 4.1.17 (> 4.1.0)
[✓] Gradle version 8.4 (> 8.3.0)
[✓] Java version 21.0.1 (> 17.0.0)
[⢇] Android Studio version[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2022.3
[✓] Create project hello-skip (0.87s)
[✓] Resolve dependencies (23.2s)
[✓] Build hello-skip (29.2s)
[✓] Test Swift (17.97s)
[✓] Test Kotlin (581.59s)
[✓] Archive iOS ipa (39.64s)
[✓] Assemble HelloSkip-release.ipa (0.02s)
[✓] Verify HelloSkip-release.ipa 23 KB
[✓] Assembling Android apk (208.78s)
[✓] Verify HelloSkip-release.apk 9.5 MB
[✓] Skip 0.7.15 checkup (902.79s)
from skip.
I have the same problem...
follow this steps and reinstall it
https://www.java.com/en/download/help/mac_uninstall_java.html
from skip.
Same issue, nothing suggested has worked for me
from skip.
@marcprux @aabewhite Any ideas?
from skip.
same issue
from skip.
I am getting the complete opposite here and receiving errors on Xcode.
*Quick background: Macbook auto-updated to Xcode 15.01 previously. Trashed 15.01, and redownloaded 15. Tried doing skip checkup and this is what I got)
➜ ~ skip checkup
[✓] Skip version 0.7.16 (= 0.7.16)
[✓] macOS version 14.0 (> 13.5.0)
[✓] Swift version 5.9 (= 5.9.0)
[✗] Xcode version: error executing xcodebuild
[✓] Homebrew version 4.1.18 (> 4.1.0)
[✓] Gradle version 8.4 (> 8.3.0)
[✓] Java version 17.0.9 (> 17.0.0)
[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2022.3
[✗] Create project hello-skip (0.67s)
from skip.
@james-mcdougall What is the output of:
xcode-select -p
from skip.
➜ ~ xcode-select -p
/Library/Developer/CommandLineTools
So I am assuming I need possibly to redownload my command line tools? Xcode builds any previous projects just fine. I have deleted previous derived data. Thoughts?
from skip.
After working on this a bunch with multiple people. Here is what you need:
- openjdk 17 installed
- JAVA_HOME must be exported to the path of openjdk 17
If you still have issues, run skip checkup -verbose
from skip.
- JAVA_HOME must be exported to the path of openjdk 17
What is the path? Or, how to find?
from skip.
M1 Mac path: /opt/homebrew/Cellar and then find the right folder
from skip.
Still having the same issue, any idea how to fix it? (failing Test Kotlin, Assembling Android apk)
from skip.
That definitely worked! Thanks so much!
from skip.
Hi folks,
I facing creating a issue
[✓] Skip version 0.7.19 (= 0.7.19)
[✓] macOS version 14.0 (> 13.5.0)
[✓] Swift version 5.9 (= 5.9.0)
[✗] Xcode version: error executing xcodebuild
[✓] Homebrew version 4.1.18 (> 4.1.0)
[✓] Gradle version 8.4 (> 8.3.0)
[✓] Java version 17.0.9 (> 17.0.0)
[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2022.3
[✗] Create project hello-skip (0.06s)
from skip.
Read the thread, I had this same issue and @aabewhite answered my question and helped me fix the issue.
from skip.
Still failing Test Kotlin, any help? please
from skip.
Hi @aabewhite, I tried another command, and it's working fine for me.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
from skip.
Read the thread, I had this same issue and @aabewhite answered my question and helped me fix the issue.
thanks for your answer
from skip.
It sounds like this issue is resolved for most people by using sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
. Please re-open the issue if it persists. We will add some extra logic to skip doctor
to advise on the need to update the Xcode location when this happens.
from skip.
You have to download the latest version of Android Studio and actually run the simulator once for it to register everything. Once you do that, do another Skip Checkup and everything should work. That is what I did and it resolved that same issue for me.
from skip.
You have to download the latest version of Android Studio and actually run the simulator once for it to register everything. Once you do that, do another Skip Checkup and everything should work. That is what I did and it resolved that same issue for me.
I have the latest Android Studio version, but keeps failing the Test Kotlin.
Thank so much for your help!
from skip.
@andresantana-dev Sorry, I may be missing some context. Can you please post the complete output? You also might try running with the -v option to see if that sheds any light on the error.
from skip.
@aabewhite GRADLE> Starting a Gradle Daemon (subsequent builds will be faster)
GRADLE> Checking the license for package Android SDK Build-Tools 33.0.1 in /Users/santana/Library/Android/sdk/licenses
GRADLE> Warning: License for package Android SDK Build-Tools 33.0.1 not accepted.
GRADLE> Checking the license for package Android SDK Platform 34 in /Users/santana/Library/Android/sdk/licenses
GRADLE>
GRADLE> Warning: License for package Android SDK Platform 34 not accepted.
GRADLE>
GRADLE>
GRADLE> * What went wrong:
GRADLE> Could not determine the dependencies of task ':HelloSkip:testDebugUnitTest'.
GRADLE> > Failed to install the following Android SDK packages as some licences have not been accepted.
GRADLE> build-tools;33.0.1 Android SDK Build-Tools 33.0.1
GRADLE> platforms;android-34 Android SDK Platform 34
GRADLE> To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
GRADLE> All licenses can be accepted using the sdkmanager command line tool:
GRADLE> sdkmanager.bat --licenses
GRADLE> Or, to transfer the license agreements from one workstation to another, see https://developer.android.com/studio/intro/update.html#download-with-gradle
GRADLE>
GRADLE> Using Android SDK: /Users/santana/Library/Android/sdk
GRADLE>
GRADLE> * Try:
GRADLE> > Run with --stacktrace option to get the stack trace.
GRADLE> > Run with --info or --debug option to get more log output.
GRADLE> > Run with --scan to get full insights.
GRADLE> > Get more help at https://help.gradle.org.
GRADLE>
GRADLE> BUILD FAILED in 14s
[✗] Test Kotlin (16.11s)
Thanks for the message, with the -v option I'm getting a lot more information
from skip.
did you fix it? I have the same issue in the same step
[✗] Assembling Android apk (16.52s)
[✗] Verify HelloSkip-release.apk: /var/folders/9_/xqn4bxx955z6npf3wh5n74nw0000gn/T//03BC17E4-60FB-4893-B9F9-17D333D9B369/hello-skip/.build/Android/app/outputs/apk/release/app-release-unsigned.apk: The file “app-release-unsigned.apk” couldn’t be opened because there is no such file.
[✓] Check Swift Package (0.44s)
[✗] Skip 0.8.2 checkup (119.35s)
from skip.
Nat, can you please post (or email us) the result of running the command with the -v option to get verbose output?
Thanks!
from skip.
sure, here it is
skip log.txt
from skip.
that worked, thanks!
basically the skip upgrade couldn't upgrade for some reason, then I updated brew and skip via brew and it worked. thanks!
from skip.
Related Issues (20)
- A string with a single interpolation is not inferred as ExpressibleByStringInterpolation HOT 1
- @Binding keypath broken in recent releases HOT 1
- Synthesized PackageSupport.kt for a test package is overridden by the source package leading to missing Bundle.module HOT 1
- ExpressibleByStringInterpolation constructor is not inferred for non-interpolated string parameters
- Xcode Internal inconsistency error when running Skip plugin HOT 1
- SwiftUI previews do not work when Skip is enabled HOT 4
- skip checkup passes, but building projects fails with Gradle run error HOT 7
- skip checkup - could not find or install Android Studio. Command line install worked. HOT 2
- Issue when the project starts. doesn't build the project. HOT 8
- Had issues with “skip init”. This command created a project that works. HOT 2
- Command PhaseScriptExecution failed with a nonzero exit code - SkipStone plugin missing output HOT 3
- Support for AsyncStream HOT 2
- Support for `withThrowingTaskGroup` HOT 2
- I can run Skip because gradle command failed when i open in Android Studio works fine but in XCode doesn't work.... HOT 1
- Not able to build after skit init HOT 11
- gradle command failed on HelloSkip HOT 2
- Crash in release builds: java.lang.NullPointerException: null cannot be cast to non-null type skip.ui.PreferenceKeyCompanion<Value of skip.ui.Preference> HOT 1
- skip checkup error HOT 4
- Skip checkup error / Error: the file payload doesn't exist HOT 1
- NavigationStack adds "padding" to android top screen HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skip.