App Store/Test Flight for MaxMSP 8 apps Chromium Embedded Framework structure problems
I've been trying to get a MaxMSP app into App Store. I have been successful only in having it submitted to Test Flight for beta distribution. The main error message I had to get past was related to the improper structure of the Chromium Embedded Framework.
Here's the gist of my script:

This framework bundle structure for Chromium Embedded Framework is ok for Test Flight, but it the actual framework gets confused beyond fixes with install_name_tool and causes a crash at launch:
Crashed Thread: 16 ThreadPoolSingleThreadForegroundBlocking0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000111e77ce8
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [6676]
...
Thread 16 Crashed:: ThreadPoolSingleThreadForegroundBlocking0
0 Chromium Embedded Framework 0x111e77ce8 ChromeAppModeStart_v7 + 5927116
1 Chromium Embedded Framework 0x111f29ecc ChromeAppModeStart_v7 + 6656688
2 Chromium Embedded Framework 0x111f1e3e0 ChromeAppModeStart_v7 + 6608836
3 Chromium Embedded Framework 0x111f1e0c8 ChromeAppModeStart_v7 + 6608044
4 Chromium Embedded Framework 0x111f24598 ChromeAppModeStart_v7 + 6633852
5 Chromium Embedded Framework 0x110de4e30 cef_time_from_basetime + 34470208
6 Chromium Embedded Framework 0x1108ca17c cef_time_from_basetime + 29117580
7 Chromium Embedded Framework 0x111ebf77c ChromeAppModeStart_v7 + 6220640
8 Chromium Embedded Framework 0x111edff80 ChromeAppModeStart_v7 + 6353764
9 Chromium Embedded Framework 0x111ee0474 ChromeAppModeStart_v7 + 6355032
10 Chromium Embedded Framework 0x111edf7e0 ChromeAppModeStart_v7 + 6351812
11 Chromium Embedded Framework 0x111eedde0 ChromeAppModeStart_v7 + 6410692
12 Chromium Embedded Framework 0x111eed9d4 ChromeAppModeStart_v7 + 6409656
13 Chromium Embedded Framework 0x111eed8c4 ChromeAppModeStart_v7 + 6409384
14 Chromium Embedded Framework 0x111f09528 ChromeAppModeStart_v7 + 6523148
15 libsystem_pthread.dylib 0x19a7c62e4 _pthread_start + 136
16 libsystem_pthread.dylib 0x19a7c10fc thread_start + 8
The crash is obtained with both the Test Flight beta distribution and the local Developer ID-signed versions. The original app generated by MaxMSP 8 works fine.
Thanks