Skip to content

Could not find or use auto-link framework when build #2

Description

@nqmgaming

Hello, I am new to reverse enginerring when I run command make for rootless it show error and I dont know how to fix, can you help me

make clean package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 13.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak PowerSettings…
==> Compiling Sources/PowerAction.swift (arm64)…
==> Compiling Sources/PowerSettingsView.swift (arm64)…
==> Compiling Sources/PowerSettingsViewModel.swift (arm64)…
==> Compiling Sources/Spawn.swift (arm64)…
==> Compiling Sources/Tweak.swift (arm64)…
==> Compiling Sources/Tweak.S (arm64)…
==> Linking tweak PowerSettings (arm64)…
ld: warning: -multiply_defined is obsolete
ld: warning: Could not find or use auto-linked framework 'BaseBoard': framework 'BaseBoard' not found
ld: warning: Could not find or use auto-linked framework 'FrontBoardServices': framework 'FrontBoardServices' not found
ld: warning: Could not parse or use implicit file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FBSSystemService", referenced from:
       in PowerSettingsView.swift.54e81042.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nqmgaming/Workspaces/tweak/PowerSettings/.theos/obj/arm64/PowerSettings.dylib] Error 1
make[2]: *** [/Users/nqmgaming/Workspaces/tweak/PowerSettings/.theos/obj/arm64/PowerSettings.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [PowerSettings.all.tweak.variables] Error 2

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions