https://kotlinlang.org logo
#ios
Title
# ios
s

Samuel Michael

02/09/2020, 10:20 PM
Hi can’t get this multiplatform ios to run I heard people say run gradle wrapper but that doesn’t seem to help is there any other way I really wanna get this running already spend all weekend its kind of pointless to do Multiplatform mobile with only android
b

basher

02/10/2020, 5:23 AM
Looks like the gradle wrapper is missing. Did you verify it's at that path in the error?
s

Samuel Michael

02/10/2020, 7:25 AM
the gradle wrapper is missing but i run gradle wrapper everywhere throughout the project and it is not fixed as the many answers for this problem seem to suggest
a

Artyom Degtyarev [JB]

02/10/2020, 7:27 AM
Hello, @Samuel Michael! Can you tell, what example you’re trying to use here? There is a bunch of outdated samples across the Web, so maybe there is something incorrect inside, and it stops you.
s

Samuel Michael

02/10/2020, 7:32 AM
the starter from intellij idea 2000
for multiplatform android-ios
a

Artyom Degtyarev [JB]

02/10/2020, 7:34 AM
Also, what version of Gradle do you have?
s

Samuel Michael

02/10/2020, 7:34 AM
i think i tried with a few different one
intellij suggests to use dist in a popup right?
idk trying to get this working all weekend don’t get it
it says 3.2.1 and i think . i tried with the one the popup suggests when it says update to latest gradle
a

Artyom Degtyarev [JB]

02/10/2020, 7:38 AM
Ok I see.
s

Samuel Michael

02/10/2020, 7:40 AM
in my gradle-wrapper.properties it says ”
Copy code
distributionUrl=https\:<//services.gradle.org/distributions/gradle-5.5.1-bin.zip>
a

Artyom Degtyarev [JB]

02/10/2020, 7:42 AM
An if you try to execute
gradle wrapper
manually in terminal, from the root directory of your project. What’s the output?
s

Samuel Michael

02/10/2020, 7:44 AM
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> 'org.gradle.api.file.RegularFileProperty org.gradle.api.file.ProjectLayout.fileProperty(org.gradle.api.provider.Provider)'
if i apply popup use gradle from distribution sources this i think clears up and i get a successful wrapper
but the ios still gets the same error in xcode or appcode
even with a successfull gradle wrapper
i read all the suggestions on so and youtrack but i don’t think any of them are working
hoping i can fix this soon and put in a fix for this so mobile developers can use this valuable tech
ok finally got it. once i can reduplicate the exact steps I will put in a youtrack ticket to add readme.md with instructions
i think the main thing is update to latest gradle and then I had a successful wrapper build from app code terminal root of project then I was able to build ios app successfully
🎉 2
of course I feel i tried all those steps before so i am dubious
why they didn’t work in past
a

Artyom Degtyarev [JB]

02/10/2020, 8:09 AM
Yep, the wizard projects can be not the best way to get started 😞 . Can you share a ticket URL when it will be made? I would like to subscribe to this one.
s

Samuel Michael

02/11/2020, 5:06 AM
3 Views