Skip to content

iOS - build failing - 'libffi' patch fails with "hunks failed" #345

Description

@benjgray

I'm trying to build the Carvera community controller to run on my iPad so I can test and provide feedback. After a long effort to try a build for iOS (macOS Sequoia, Xcode 16), I've ultimately failed to get the Xcode project to build. This issue occurs even when using the code from the latest iOS-related pull request (#341).

Summary of Steps Taken:

Final Error:

Even with all these fixes, the build fails when the script attempts to apply the patch to libffi, with the error:

patching file 'src/aarch64/sysv.S'
1 out of 1 hunks failed--saving rejects to 'src/aarch64/sysv.S.rej'

Does this indicates the downloaded libffi source code does not match the patch file?

I don't seem to be able to get the project buildable for iOS on my system/setup. Could a maintainer please provide a definitive, working build_ios.sh and a verified set of dependency recipes?

Once I get the iOS version running on my iPad, I'd be happy to feature test, etc. Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions