gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Mac App archived cannot load core-plot #304

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Drew, I still have the same issue somehow my App cannot load core plot

I have copied the framework in the build phase

Process:         Stocks [8970]
Path:            /Applications/Stocks.app/Contents/MacOS/Stocks
Identifier:      com.thebearflagrepublic.portfolio
Version:         1.0.0 (1)
Code Type:       X86-64 (Native)
Parent Process:  launchd [273]

Date/Time:       2011-07-15 11:40:31.828 -0700
OS Version:      Mac OS X 10.7 (11A511)
Report Version:  9

Crashed Thread:  0

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

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @loader_path/../Frameworks/CorePlot.framework/Versions/A/CorePlot
  Referenced from: /Applications/Stocks.app/Contents/MacOS/Stocks
  Reason: image not found

Binary Images:
       0x107d39000 -        0x107d4aff7 +com.thebearflagrepublic.portfolio (1.0.0 - 1) <5A0DE478-D24F-3FA2-87E0-BA42540A92FE> /Applications/Stocks.app/Contents/MacOS/Stocks
    0x7fff67939000 -     0x7fff6796dac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld

Original issue reported on code.google.com by supp...@thebearflagrepubliccorporation.com on 15 Jul 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Your Copy Build Phase is almost certainly not correct. You need to add a copy 
build phase that copies the Core Plot framework into your App bundle, into a 
subdirectory called 'Frameworks'. It SHOULD NOT be copied into Resources.
Check your app bundle after you compile it, and see if CP is actually in the 
Frameworks directory.

Drew

Original comment by drewmcco...@mac.com on 16 Jul 2011 at 4:09