Skip to content

xCode 16 + #482

Description

@FelixFalkovsky

The build on xCode16 is not working,

  • installed via SPM
  • cocopods
  • brew
    I failed to install and generate a project in any of the cases.

error: 'needle': Invalid manifest <unknown>:0: warning: using sysroot for 'iPhoneSimulator' but targeting 'MacOSX' <unknown>:0: error: unable to load standard library for target 'arm64-apple-macosx14.0'

  • export SOURCEKIT_LOGGING=0 &&
    "${PODS_ROOT}"/NeedleFundation/needle generate
    "${SRCROOT}/ProjectName/Generated/NeedleGenerated.swift"

  • Create Generated directory if it doesn't exist

mkdir -p "${SRCROOT}/ProjectName/Generated"

Set permissions

chmod 755 "${SRCROOT}/ProjectName/Generated"

Build and run needle

cd "${BUILD_ROOT}/../../SourcePackages/checkouts/needle" &&
swift build -c release &&
.build/release/needle generate "${SRCROOT}/ProjectName/Generated/NeedleGenerated.swift"
--sources "${SRCROOT}/ProjectName"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions