Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Need Help] Xcode build faild #463

Open
LuckyRabbitFeet opened this issue Oct 16, 2024 · 6 comments
Open

[Need Help] Xcode build faild #463

LuckyRabbitFeet opened this issue Oct 16, 2024 · 6 comments

Comments

@LuckyRabbitFeet
Copy link

Hello, I am trying to build delta. I modified the settings in Signing & Capabilities according to the documentation, but the build still fails with the following error message:

image

My device information:

OS: macOS 15.0.1
Xcode version: 16.0
Swift version: 6.0
Other info:
image

I am a novice in iOS development, please let me know if the information I provided is missing.

Thank you.

@ttnhan2112
Copy link

same issue

@KietFC
Copy link

KietFC commented Nov 7, 2024

Same issue, please fix it soon 🥹🥹🥹

@daohung47
Copy link

Same issue, please fix it. Thank you very much

@Tucodon
Copy link

Tucodon commented Nov 7, 2024

Same issue, please fix it soon 😥. Thank you

@tuannd20
Copy link

tuannd20 commented Nov 7, 2024

Same issue, please fix it. Thank you very much

@CooperCorona
Copy link

Same issue, it appears to be a problem with Xcode 16, or at least a warning that became an error in Xcode 16. The Apple Developer Forums and all other available resources said to find and remove the flag, but -mno-thumb is nowhere in the project. However, for reasons unknown to me, the flag -marm includes the flag, even though ti doesn't print in the build logs or response file. And -marm is in the project! Specifically, it's in the DSDeltaCore project. You need to remove this flag from each of the

  • Pods/Target Support Files/DSDeltaCore/DSDeltaCore.debug.xcconfig
  • Pods/Target Support Files/DSDeltaCore/DSDeltaCore.release.xcconfig
  • Pods/Target Support Files/Pods-Delta/Pods-Delta.debug.xcconfig
  • Pods/Target Support Files/Pods-Delta/Pods-Delta.release.xcconfig

You may also have to remove it from the DSDeltaCore and libDeSmuME targets build settings under Other C Flags.
other c flags

It's also in Pods/Local Podspecs/DSDeltaCore.podspec.json, which may be relevant if you're using CocoaPods, but I don't think that affects local builds. It needs to be fixed in the DSDeltaCore repo so it stops automatically adding those flags in the xcconfig files.

That fixes the -mno-thumb, error, at least for me. But after that, I ran into weird errors about Generic parameter 'Datatype' could not be inferred. If you look, they're all on Expressionobjects. I believe this is an **iOS 18** issue, since iOS 18 introduces anExpressiontype in Foundation. This introduces an ambiguity with type inSQLite. To fix _that_, just add SQLite.to all unscopedExpression` calls.

Finally, this got Delta to build, but it crashed with No entry point found. Checked '(null)'. This occurs before AppDelegate even runs, so I do not believe it is a storyboard entry point issue. The stack trace included something about debug dylibs. To fix that, I had to set Enable Debug Dylib Support to No in the top level Delta project build settings. I have no idea if that will cause problems elsewhere, but I successfully installed Delta on my phone after this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants