https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Martin Rajniak

03/15/2022, 6:29 PM
Hello, do you know how can I get more info when signing is failing in
embedAndSignAppleFrameworkForXcode
at least that is what I think is happening here)
Copy code
> Task :embedAndSignAppleFrameworkForXcode FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':embedAndSignAppleFrameworkForXcode' (type 'Copy').
  - Type 'org.gradle.api.tasks.Copy' property 'sign' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
      1. Assign a value to 'sign'.
      2. Mark property 'sign' as optional.
    
    Please refer to <https://docs.gradle.org/7.2/userguide/validation_problems.html#value_not_set> for more details about this problem.
p

Paul Woitaschek

03/15/2022, 6:32 PM
Did you try --info?
m

Martin Rajniak

03/15/2022, 7:29 PM
Yeap, also
--stacktrace
and I don't see anything useful. Locally I don't have an issue (but it might be because I build
debug
and on CI I fail to build
release
). There were changes in signing of iOS app, so I think it is the cause, but without knowing what is wrong, very hard to fix.
p

Paul Woitaschek

03/15/2022, 7:31 PM
What's your Ci?
m

Martin Rajniak

03/15/2022, 7:31 PM
TeamCity
p

Paul Woitaschek

03/15/2022, 7:33 PM
Hm maybe you can install a runner on your machine and inspect the state?
m

Martin Rajniak

03/15/2022, 7:34 PM
uff, I think I will try building production signed artifact locally first 🙂
p

Paul Woitaschek

03/15/2022, 7:35 PM
That's ususally our last resort on Ci issues that can't be reproduced
m

Martin Rajniak

03/15/2022, 7:36 PM
hopefully it won't come to that - up until now it was always just about me doing something different on local machine 🙂
So at the end it was missing signing config in XCode project file - we don't use it in iOS application, but KMP requires it.
p

Paul Woitaschek

03/17/2022, 11:12 AM
We don’t sign anything of our framework
h

Harshita Kalani

07/19/2023, 8:58 AM
Hi @Martin Rajniak I'm trying the same thing and stuck here. Do you have any clue on how to resolve this?
4 Views