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

Binary is missing Template dependency #55

Open
yepher opened this issue Nov 21, 2016 · 2 comments
Open

Binary is missing Template dependency #55

yepher opened this issue Nov 21, 2016 · 2 comments

Comments

@yepher
Copy link
Contributor

yepher commented Nov 21, 2016

The output app ParseAppGen is missing the template library. When running the app outside of XCode or double clicking on saved file will cause app to crash. This is the crash generated when run outside of XCode:

Dyld Error Message:
  Library not loaded: @rpath/TDTemplateEngine.framework/Versions/A/TDTemplateEngine
  Referenced from: /Users/USER/Library/Developer/Xcode/DerivedData/PEGKit-evbpxkuihrhytecvnigwxryrwvcu/Build/Products/Debug/ParserGenApp.app/Contents/MacOS/ParserGenApp
  Reason: image not found

Full Output

Process:               ParserGenApp [62015]
Path:                  /Users/USER/Library/Developer/Xcode/DerivedData/PEGKit-evbpxkuihrhytecvnigwxryrwvcu/Build/Products/Debug/ParserGenApp.app/Contents/MacOS/ParserGenApp
Identifier:            com.parsekit.ParserGenApp
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           ParserGenApp [62015]
User ID:               1489

Date/Time:             2016-11-21 07:51:13.772 -0600
OS Version:            Mac OS X 10.11.6 (15G1108)
Report Version:        11
Anonymous UUID:        0D496D28-74B4-26D0-DF03-1BFED4ABE361

Sleep/Wake UUID:       1CEA6906-4E8A-400D-ABC9-28B1E7BD641F

Time Awake Since Boot: 290000 seconds
Time Since Wake:       4500 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/TDTemplateEngine.framework/Versions/A/TDTemplateEngine
  Referenced from: /Users/USER/Library/Developer/Xcode/DerivedData/PEGKit-evbpxkuihrhytecvnigwxryrwvcu/Build/Products/Debug/ParserGenApp.app/Contents/MacOS/ParserGenApp
  Reason: image not found

Binary Images:
    0x7fff6de80000 -     0x7fff6deb7a47  dyld (360.22) <DC81CC9D-651A-3A45-8809-928282052BD3> /usr/lib/dyld
    0x7fff8a022000 -     0x7fff8a22ffff  libicucore.A.dylib (551.51.4) <3899B146-3840-3D4A-8C4A-FE391D5D25C7> /usr/lib/libicucore.A.dylib


@yepher
Copy link
Contributor Author

yepher commented Nov 21, 2016

Here are the steps to reproduce issus:

  1. Run ParserGenApp in XCode
  2. Hold down command key and double click on app in task tray
    • This will reveal the physical location of that app in finder
  3. Exit app (or stop in XCode)
  4. Double click on ParserGenApp in finder.

Notice the app crashes with the above reported output.

@yepher
Copy link
Contributor Author

yepher commented Nov 21, 2016

One solution is to drab:

$Build/Products/Debug/TDTemplateEngine.framework

into:

$Build/Products/Debug/ParserGenApp.app/Contents/Frameworks

But the project should be fixed so that manual step does not need to be done.

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