Please help.
After updating to xCode 9 and Xamarin I started getting this error when launching my app on the simulator (iPhone4s and iPhone 5)
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Beginning launch sequence for bundle 'AppName'
retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout )
bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout )
bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway )
Note: Use 'xcrun simctl spawn booted defaults write ' to modify defaults in the booted Simulator device.
Simulator booted at: 2017-09-27 06:13:45 +0000
Current time: 2017-09-27 06:38:43 +0000
Within boot leeway: NO
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Launch attempt #0 for bundle 'AppName', have been trying to launch for 0 seconds. Modern launch services = NO
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x8c48][1673]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x8c48]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x8c48]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Non-FBS error launching 'AppName', will NOT retry. Error was: Error Domain=NSPOSIXErrorDomain Code=3 "Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch." UserInfo=0x79625e00 {NSLocalizedDescription=Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.}
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x315b][1674]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x315b]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x315b]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
Sep 27 08:40:24 Administrators-MacBook-Pro.local DTMobileIS[1403]: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
Any help in the right direction would be much appreciated.
My Supported Architectures are : i386 + x86_64
More info:
=== Visual Studio Community 2017 for Mac ===
Version 7.1.5 (build 2)
Installation UUID: 7ab56de2-d309-4bf5-99dc-8e8927831737
Runtime:
Mono 5.2.0.224 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
=== NuGet ===
Version: 4.3.0.2418
=== .NET Core ===
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.5
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Xamarin.Android ===
Version: 7.4.5.1 (Visual Studio Community)
Android SDK: /Users/administrator/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Inspector ===
Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1
=== Apple Developer Tools ===
Xcode 9.0 (13247)
Build 9A235
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: 11.0.0.0 (Visual Studio Community)
Hash: 152b654a
Branch: xcode9
Build date: 2017-09-15 02:25:56-0400
=== Build Information ===
Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9
=== Operating System ===
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Actually how this works is that the Xcode version in your mac system and the xamarin version on your windows device should match.
To see which xcode version matches your xamarin version check here:
https://releases.xamarin.com/stable-release-15-3-5-with-xcode-9-support/
Related
ASP.NET MVC application is installed in Debian server using Apache and mod_mono.
Trying to start it causes SIGSEGV exception in Mono. Apache error.log contains
[Wed Mar 06 22:07:13 2019] [notice] Apache/2.2.22 (Debian) mod_mono/3.12 configured -- resuming normal operations
Listening on: /tmp/.mod_mono_server4
Root directory: /
Stacktrace:
[Wed Mar 06 22:07:35 2019] [error] (70014)End of file found: read_data failed
[Wed Mar 06 22:07:35 2019] [error] Command stream corrupted, last command was 1
Listening on: /tmp/.mod_mono_server4
Root directory: /
Stacktrace:
Native stacktrace:
/usr/bin/mono() [0x4accca]
/usr/bin/mono() [0x5040fe]
/usr/bin/mono() [0x4275d7]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7f47845d30a0]
/usr/bin/mono() [0x47aad9]
/usr/bin/mono() [0x50fcb8]
/usr/bin/mono() [0x510253]
/usr/bin/mono() [0x425efc]
/usr/bin/mono() [0x4af809]
/usr/bin/mono() [0x4b0117]
[0x411fe68c]
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
How to fix this so that application can run ?
Same server also contains other application created with older ASP.NET MVC which runs OK.
Mono was installed using Debian package:
mono --version
Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 14 12:30:00 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
I was debugging my application earlier today from Visual Studio Cordova to iOS simulator running on a mac just fine.
After minimal changes, it would no longer run and seemed to crash instantly, giving the following errors in the system log:
Feb 22 14:59:28 Derricks-Air com.apple.CoreSimulator.SimDevice.FD118263-FDD1-4B7F-ADDB-0B5BA5811F88.launchd_sim[1946] (UIKitApplication:com.packagename.mail[0x8540][2832]): Program specified by service does not contain one of the requested architectures: ï
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Unable to get pid for 'UIKitApplication:com.packagename.mail[0x8540]': No such process (err 3)
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Bootstrapping failed for <FBApplicationProcess: 0x7d890cd0; com.packagename.mail; pid: -1>
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Application 'UIKitApplication:com.packagename.mail[0x8540]' exited voluntarily.
I have since reverted any code changes and am still having this issue.
Any ideas?
After install macOS Sierra + Xcode 8 beta
My Xcode 7.3.1 can't run iOS simulator anymore,
How can i fixed this?
here is system logs.
Jun 15 07:46:11 Siams-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.CoreSimulator.CoreSimulatorService[2246]): Service exited due to signal: Killed: 9 sent by com.apple.CoreSimulator.CoreSimu[2246]
Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: com.apple.CoreSimulator.CoreSimulatorService 209.19 starting.
Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device D340C405-CF9F-482C-82CE-ADE8A2399529 is no longer in the set, and an alternative could not be found. iPhone / Watch pairings may not be correct.
Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device C3CBAFAD-D139-49CE-9EF1-E2437A2349A7 is no longer in the set, and an alternative could not be found. iPhone / Watch pairings may not be correct.
Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device 0916CCBC-1DAA-4CA4-8DCA-FFD87C8941E0 is no longer in the set, and an alternative could not be found. iPhone / Watch pairings may not be correct.
Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device 9CC780B5-3034-4083-B52F-2354FB0A8252 is no longer in the set, and an alternative could not be found. iPhone / Watch pairings may not be correct.
Another log
Jun 15 10:03:26 Siams-MacBook-Pro DTServiceHub[11482]: DTServiceHub[11482]: [error] 'mach_msg_send' failed: (ipc/send) invalid destination port (268435459)
Jun 15 10:03:36 Siams-MacBook-Pro Xcode[10188]: +[DTServiceHubClient localConnectionWithAuthorization:returningServerPid:]: failed to establish connection with DTServiceHub service '/Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/DTServiceHub'
Jun 15 10:03:36 Siams-MacBook-Pro Xcode[10188]: Xcode[10188]: [error] 'mach_msg_send' failed: (ipc/send) invalid destination port (268435459)
Short term solution:
Build app
The app will still install on the simulator, even with the error
Launch the app manually on the simulator
Go to Xcode
Click Debug > Attach to Process > Your App Name
This isn't recommended since you have to do it every time you want to run your app.
Long term solution (recommended):
Reinstall Xcode from the Developer Center. Doing so will clear this error, and the app will run smoothly.
This should work.
Build app
The app will still install on the simulator, even with the error
Launch the app manually on the simulator
Go to Xcode
Click Debug > Attach to Process > Your App Name
I fixed the problem by deleting both XCode 7.3.1 and 8 Beta and reinstalling just XCode 7.3.1 from DMG.
I can't run any project for iOS in Xamarin, It shows me the following error "Error Initialized task IBTool: Not registered task IBToll", how I can resolve this error?
I use Xamarin Studio 5.9.4, XCode 5.0, Xamarin Ios 8.10.3.2 (Business Edition) and S.O Mac Os X 10.9.5
I hope you can help me
UPGRADE
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 616c0f77-e96a-4f5d-a6f7-c303c7e143c3
Runtime:
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 5.1.4.16 (Business Edition)
Android SDK: /Users/student/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
=== Xamarin Android Player ===
Not Installed
=== Apple Developer Tools ===
Xcode 5.0 (3332.22)
Build 5A1412
=== Xamarin.iOS ===
Version: 8.10.3.2 (Business Edition)
Hash: 8b265d6
Branch: master
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
Not Installed
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.9.5
Darwin Students-Mac.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
I am trying to track my iPhone using traccar.
I installed traccar server in windows 7 and ios client application in iphone 4s.
I added my iPhone successfully in traccar web application and it is updating location per minute.
But in traccar we application when I load my phone it always display error "No results found for selected period"
Below is a log file of traccar server...
2015-01-27 11:59:44
INFO: Starting server... 2015-01-27 11:59:44 INFO: Operating
System name: Windows 7 version: 6.1 architecture: x86 2015-01-27
11:59:44 INFO: Java Runtime name: Java HotSpot(TM) Client VM vendor:
Oracle Corporation version: 25.31-b07 2015-01-27 11:59:44 INFO:
Memory Limit heap: 247mb non-heap: 0mb 2015-01-27 11:59:44 INFO:
Version: 2.11-SNAPSHOT 2015-01-27 12:02:39 DEBUG: [5005 <-
192.168.1.59] - HEX: 24504749442c3838353839352a30300d0a 2015-01-27 12:02:39 WARN: Unknown device - 885895 2015-01-27 12:02:42 DEBUG:
[5005 <- 192.168.1.59] - HEX:
244750524d432c3036333231342e3030302c412c323833362e383730352c4e2c30373732312e373135302c452c302e30302c3131362e30322c3237303131352c2c2a30300d0a
2015-01-27 12:03:46 DEBUG: [5005 <- 192.168.1.59] - HEX:
244750524d432c3036333331352e3030302c412c323833362e383731362c4e2c30373732312e373134322c452c302e30302c302e30302c3237303131352c2c2a30300d0a
Please provide appropriate solution.
You need to register your device through web interface with 885895 as a unique identifier.
I had the same problem because I was trying this application in my office. You know that GPS doesn't work indoors so you will have to go outside with your Iphone. Try it if work.
Best of luck!