hi , i just upgraded to mac tahoe and upgrade xco...
# multiplatform
m
hi , i just upgraded to mac tahoe and upgrade xcode to 26 and when build new app generated with kmp plugin i got this error , is there any fix for it ? error in thread
Copy code
4:57:48 AM: Executing ':composeApp:embedAndSignAppleFrameworkForXcode'…

Executing tasks: [:composeApp:embedAndSignAppleFrameworkForXcode] in project /Users/mostafa/AndroidStudioProjects/MyApplication2

Calculating task graph as no cached configuration is available for tasks: :composeApp:embedAndSignAppleFrameworkForXcode
Type-safe project accessors is an incubating feature.
> Task :composeApp:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForNativeMain NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForAppleMain NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForIosMain NO-SOURCE
> Task :composeApp:convertXmlValueResourcesForIosArm64Main NO-SOURCE
> Task :composeApp:checkCanSyncComposeResourcesForIos
> Task :composeApp:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForIosMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForNativeMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForAppleMain NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForIosArm64Main NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForAppleMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForNativeMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForIosMain NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE
> Task :composeApp:prepareComposeResourcesTaskForIosArm64Main NO-SOURCE
> Task :composeApp:copyNonXmlValueResourcesForCommonMain
> Task :composeApp:convertXmlValueResourcesForCommonMain NO-SOURCE
> Task :composeApp:iosArm64ResolveResourcesFromDependencies
> Task :composeApp:iosSimulatorArm64ResolveResourcesFromDependencies
> Task :composeApp:prepareComposeResourcesTaskForCommonMain
> Task :composeApp:assembleIosArm64MainResources
> Task :composeApp:assembleIosSimulatorArm64MainResources
> Task :composeApp:iosArm64ResolveSelfResourcesCopyHierarchicalMultiplatformResources
> Task :composeApp:iosSimulatorArm64ResolveSelfResourcesCopyHierarchicalMultiplatformResources
> Task :composeApp:iosArm64AggregateResources
> Task :composeApp:iosSimulatorArm64AggregateResources
> Task :composeApp:syncComposeResourcesForIos FAILED
error: Cannot query the value of this provider because it has no value available.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':composeApp:syncComposeResourcesForIos'.
> Cannot query the value of this provider because it has no value available.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.

BUILD FAILED in 1s

[Incubating] Problems report is available at: file:///Users/mostafa/AndroidStudioProjects/MyApplication2/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to <https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.
12 actionable tasks: 12 executed
Configuration cache entry stored.
4:57:50 AM: Execution finished ':composeApp:embedAndSignAppleFrameworkForXcode'.
y
can you run the app on ios simulator? well i also updated to tahoe and xcode 26 and i can run the app on ios simulator through android studio. if you are trying to build the app and run it on actual ios device i have no idea maybe open the ios folder inside xcode and try to build it from there ? preflight status of android studio tells that macos and xcode versions are not supported when i upgraded to tahoe and xcode 26
m
I am running an ios simulator, also i got another issue ios platform code not recognized in android studio
Could you tell me how you upgrade to tahoe After updating the system what did you do next?
y
well i did nothing much just upgraded to tahoe and updated to xcode and that is it. although my app only gets data from api and then displays it so i do not have written any ios swift code at all. in android studio there is preflight status check and that was showing that mac and xcode are not supported(i forgot the specific version) but my app ran fine on ios simulator from android studio. does preflight status tells you anything when opening this project? did you try running the project from xcode? or it also gives you error?
m
I am doing a clean install right now , thanks for the help i will follow your guide and will send any error here in the thread
y
No Problem. I am a beginner so i also do not have much idea if you cannot build or run the app from xcode but still mention it