Chapter 14 lib used to produce SPM

Hey everyone just wondering if anyone else is running into this same issue.

id(“com.chromaticnoise.multiplatform-swiftpackage-m1-support”)

doesn’t seem to exist? I get “cannot find in maven repo” error

This does work:

id(“com.chromaticnoise.multiplatform-swiftpackage”) version “2.0.3”

but then it doesn’t recognize “xcframeworkName” so I had to change that to “packageName”

I was able to grade sync successfully but then when I try to build a SPM via the cmd I get:

Task :shared-action:createXCFramework FAILED
error: the path does not point to a valid framework: /Users/arodr529/projects/kmpf-materials/14-creating-your-kmp-library/projects/starter/shared-action/build/bin/iosArm64/releaseFramework/shared_action.framework

  • What went wrong:
    Execution failed for task ‘:shared-action:createXCFramework’.

Process ‘command ‘xcodebuild’’ finished with non-zero exit value 70

Are we suppose to use the internal plugin in the starter project?

sorry to bug you @kevindmoore no rush to answer and happy Holidays!

Unfortunately, I am not the iOS expert. I will mention that we will be updating the book soon.