Xcode 8 - symbolicatecrash failed - xcode8

Under Xcode 8 symbolicatecrash to analyse crash report failed with:
sh: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun: No such file or directory
## Warning: can't find tool named 'otool' in iOS SDK, falling back to searching the Mac OS X SDK
sh: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun: No such file or directory
Error: can't find tool named 'otool' in the macosx SDK or any fallback SDKs at /usr/local/bin/symbolicatecrash line 115.
how to solve it?

Are you looking for the new location of symbolicatecrash in XCode 8?
Now it is located at /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources

find /Applications/Xcode.app/ -name symbolicatecrash
then, you will get
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash

Related

CMake Error at cocos2d/cmake/Modules/CocosConfigDepend.cmake:94 (endmacro): Flow control statements are not properly nested

Hey I'm a newbie cocos 2d x developer, I'm just trying to get a "Hello World" project created in XCode for iOS. From the terminal I'm using the command
cmake ../.. -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos
I keep getting these two errors and the xcode project file does not generate.
CMake Error at cocos2d/cmake/Modules/CocosConfigDepend.cmake:94 (endmacro):
Flow control statements are not properly nested.
Call Stack (most recent call first):
cocos2d/cmake/Modules/CocosBuildSet.cmake:43 (include)
CMakeLists.txt:42 (include)
What am I doing wrong?
see attached screenshot
[1]: https://i.stack.imgur.com/cIiNC.jpg
System Specs:
MacOS Big Sur 11.4 (Virtual Machine via VMware)
cocos2d-x-4.0
cocos Console 2.3
Xcode 12.5.1
Python 2.7.16
cmake 3.21.0
CMake 3.14+
Xcode 10+
Visual Studio 2019
Android Studio 3.4+,NDK r19c+
Need https://github.com/leetal/ios-cmake
Try this
enter code here
$mkdir build_ios
$cd build_ios
$cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../ios.toolchain.cmake -DENABLE_ARC=FALSE
$open test.xcodeproj
The default is iOS device project, and platform parameters such as
os.toolchain.cmake support -DPLATFORM=SIMULATOR64 need to be added when adjusting to simulator. Please refer to its documentation

Xcode 7 - Cannot open document (storyboard file)

I recently updated to Xcode 7 and as usual something has to go wrong. Its really a shame because I was looking forward to the new features in Xcode 7.
I am faced with a an error which I cannot seem to fix. Every time I try and build the project I get the following error:
I thought there was something wrong with my project, so I made a new Single View application and I still get the same error.
I have tried the following things but none of them has worked for me:
Restart Xcode (Didn't work).
Clean and rebuild project (Didn't work).
Restart Mac (Didn't work).
Reinstall Xcode 7 from the Mac App Store (Didn't work).
Installed Xcode 7 on a different Mac (Still got the same issue, even with a new Xcode project).
I tried the solution in this Stack Overflow question: https://stackoverflow.com/a/31614717/1598906 - But alas it did not work.
Finally, I tried the following Terminal command with no avail: $ sudo killall -9 ibtoold
Is anyone else having this issue with Xcode 7.0? And if so, have you managed to come with any other solutions? I have tried everything I can think of and nothing works.
Lastly, below is a copy of the error Log:
2015-09-18 21:09:28.416 ibtoold[1598:39510] [MT] IBPlatformTool: ***
Failed to launch tool with description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity: Failed
to find or create execution context for description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity: Failed
to find a suitable device for the type SimDeviceType :
com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime :
9.0 (13A340) - com.apple.CoreSimulator.SimRuntime.iOS-9-0 (Failure reason: Failed to create SimDeviceSet at path
/Users/daniel/Library/Developer/Xcode/UserData/IB Support/Simulator
Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator
to see why creating the SimDeviceSet failed.) 2015-09-18 21:09:38.290
ibtoold[1598:39510] [MT] IBPlatformTool: Wrote failed marshalling
request diagnostics to path:
/var/folders/lx/kkhv57fd2ll7rhdt0bwfpkb00000gn/T/IB-agent-diagnostics_2015-09-18_21-09-28_418000
/* com.apple.ibtool.errors */ /Users/daniel/Desktop/DS
APPS/BT/BloodyTest/BloodyTest/Base.lproj/LaunchScreen.storyboard:
error: Could not open document
Recovery Suggestion: Failed to connect with the iOS agent. Please file a bug report at bugreport.apple.com and attach a zip file of the
diagnostics located at
"/var/folders/lx/kkhv57fd2ll7rhdt0bwfpkb00000gn/T/IB-agent-diagnostics_2015-09-18_21-09-28_418000".
Underlying Errors:
Description: Failed to find or create execution context for description
System content 1x for IBCocoaTouchFramework-EightAndLater w/ default
fidelity
Underlying Errors:
Description: Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with
runtime SimRuntime : 9.0 (13A340) -
com.apple.CoreSimulator.SimRuntime.iOS-9-0
Failure Reason: Failed to create SimDeviceSet at path /Users/daniel/Library/Developer/Xcode/UserData/IB Support/Simulator
Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator
to see why creating the SimDeviceSet failed.
Thanks for your time, Dan.
Well thanks to the community for all there help..... not.
In the end I got it working by simply upgrading to OS X El Capitan and Xcode 7.0.1.
One thing I would point out though, is that when I was looking through the Xcode app files, some of them were corrupted and when I updated to Xcode 7.0.1 this issue was not fixed. So before installing OS X El Capitan, I deleted the following:
Xcode 7.0.1 app
Library/Developer folder
Macintosh HD/Library/Developer folder
I then installed OS X El Capitan and then installed Xcode 7.0.1 and now everything works fine.
I hope this helps anyone else who is experiencing the same issue.

Problems in MPICH 3.1.3 installation in OSX 10.10 with ifort compiler and Xcode 6.1

I am trying to build mpich 3.1.3. in a Mac OSX 10.10 Yosemite with Xcode 6.1 and intel compilers icc and ifort version 15.0.0 20140716. I get an error when I am building the installation. The error is the following:
GEN lib/libpmpi.la
ifort: command line warning #10006: ignoring unknown option '-force_load,src/mpl/.libs/libmpl.a'
ifort: command line warning #10006: ignoring unknown option '-force_load,/Users/alejandrodelacallenegro/Downloads/mpich-3.1.3/src/openpa/src/.libs/libopa.a'
ifort: command line warning #10006: ignoring unknown option '-force_load,src/mpi/romio/.libs/libpromio.a'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: object: lib/.libs/libpmpi.a(initthread.o) malformed object (section contents at offset 0 with a size of 1056, overlaps Mach-O headers at offset 0 with a size of 768)
I do not understand where the error come from, from the compiler or from libtool. I have also attached the outputs of the configuration and the build steps.
I finally found the cause of the problem. libtool was somehow corrupted, so I install it again, and then I don't get this error anymore. I have install Xcode again, but I suppose that installing it from macports, homebrew or from source solves the problem as well.
Alex

titanium 1.7.5 sdk, iOS 5, on lion. kitchensink not building

The company I am working in is trying to develop our new mobile client side apps, for matters of "Develop once run an all", with the Appcelerator Titanium(SDk 1.7.5) iOS5 on a lion based Macs.
No one managed to work it out, so i'm a trying to figure this out during the weekend. I am getting the next build error (As a native developer for both IOS and Android I am used to work with the Xcode. From what i read in the site, i should build the app in the Titanium, not the XCODE??? the error when i am running form the Titanium, not the Xcode - the first unfamiliar item in my list....SHOULD I RUN IT IN THE TITANIUM OR THE XCODE FOR IOS?)
I can see that the build is starting and looking ok, if need all the log i will give it, but there are debug and info build lines and then i am getting this error and the build stops...
.
.
.
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Users/[USER]/Library/Application Support/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py", line 1222, in main
execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s" % (log_id,sdk_version,debugstr)],False)
File "/Users/[USER]/Library/Application Support/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py", line 1140, in execute_xcode
output = run.run(args,False,False,o)
File "/Users/[USER]/Library/Application Support/Titanium/mobilesdk/osx/1.7.5/iphone/run.py", line 39, in run
sys.exit(rc)
SystemExit: 65
Other then that, I can the see that the engine in Python. Is it a problem with the python engine, the Titanium SDK or the the IOS SDK? When tried to run the "Hello world" app, we got more or less the same error.
Can any one help me with this issue? or send me to a good docs or tutorial to give me a direction?
Thank you,
Erez
my recommendation is to look in the build/iphone/build directory and open up the build.log to see what the real error is

arm-none-symbianelf-ld throwing "No Such File or Directory" error looking for file [...].GCCE.UREL.objects.via when building project

Im using Carbide C++ 2.3.0 to build a Flash Stub project with S60)5th_Edition_SDK-v1.0 Phone Release (GCCE) set as build configuration. I have installed Perl and JRE and the CSL toolchain (GCCE), and Ive manually updated the Windows PATH variable to point to GCCE/bin.
When I create my project according to - this article and click build I get only the following error message -
#\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\*[name]\*group\*[NAME]*\GCCE\*[name]*_0xECB9C23A.GCCE.UREL.objects.via: No such file: No such file or directory
The console output is -
arm-none-symbianelf-ld: #\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\name\group\NAME\GCCE\name_0xECB9C23A.GCCE.UREL.objects.via: No such file: No such file or directory
make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\gcce\urel\name_0xECB9C23A.exe] Error 1
make: *** [TARGETCUEMEMMOB] Error 2
My errors log panel shows that Perlv5.6.1 was not detected (i installed strawberry perl 5.10.1) should this matter?
I have checked that the EPOCROOT is set correctly and navigated in windows explorer to the file that cannot be found and I can see it there.
I cannot find any help with this on the nokia forums.
Yes, it matters.
The recommended perl implementation is ActivePerl 5.6.1, available from activestate.com