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

Error on Generating Debug Symbols for projectName on first compile #75

Closed
HearseDev opened this issue Aug 27, 2021 · 0 comments
Closed

Comments

@HearseDev
Copy link

DragonBuild - v1.5.1 using sbingner toolchain with default sdks provided by dragonbuild

What is happening -
Making a new simple project, the very first compile spits out an error saying
[Dragon] [9/10] (1.953) Generating Debug Symbols for example error: cannot parse the debug map for '".dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/example.dylib.unsym"': No such file or directory

After that, the project seems to compile just fine, even after cleaning the project without any errors.

Project used was example project on - https://github.com/DragonBuild/example.git

How to reproduce:
1.Install dragon pip3 install dragon
2.Run command dragon
3.Install Sbingner Toolchain
4.git clone https://github.com/DragonBuild/example.git
5. dragonmake in example dir

delete example dir and clone and then try again to reproduce multiple times

Operating System: Linux WSL2 x86_64 Windows 10
Complete Log:

[DragonGen] Creating build script for example
[Dragon] Building
[Dragon] [5/10] (1.869) Linking .dragon/build/arm64/Tweak.x.m.o with $DRAGONDIR/toolchain/linux/iphone/bin/clang++ [arm64]
ld: warning: building for iOS, but linking in .tbd file (/home/ubuntu/.dragon/frameworks/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator
[Dragon] [6/10] (1.875) Linking .dragon/build/arm64e/Tweak.x.m.o with $DRAGONDIR/toolchain/linux/iphone/bin/clang++ [arm64e]
ld: warning: building for iOS, but linking in .tbd file (/home/ubuntu/.dragon/frameworks/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator
[Dragon] [7/10] (1.938) Linking .dragon/build/armv7/Tweak.x.m.o with $DRAGONDIR/toolchain/linux/iphone/bin/clang++ [armv7]
ld: warning: building for iOS, but linking in .tbd file (/home/ubuntu/.dragon/frameworks/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator
[Dragon] [9/10] (1.953) Generating Debug Symbols for example
error: cannot parse the debug map for '".dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/example.dylib.unsym"': No such file or directory
[Dragon] [10/10] (1.959) Signing example
[Dragon] >>> Running Stage for example
[Packager] Generating Package Structure
[Packager] Pulling 'control' values from DragonMake
[Packager] Building Package
dm.pl: building package `example:iphoneos-arm' in `.dragon/packages//example_0.1.0_iphoneos-arm.deb'
[Dragon] Cleaning Up

@0cyn 0cyn closed this as completed in 986420e Aug 27, 2021
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

1 participant