Xcode Simulator - CyMemDef.dylib: mach-o, but not built for iOS simulator









up vote
5
down vote

favorite












I am working on a new Macbook and just downloaded and installed Xcode with developer tools.



I have create a brand new project in Xcode (no modification or adding framework / pods). I am trying to run the same on simulator. When I do, my app crashes with "SIGABRT". The log shows the following message:



dyld: Library not loaded: /Library/Application Support/Cylance/Desktop/CyMemDef.dylib
Referenced from: /Users/me/Library/Developer/CoreSimulator/Devices/80FC5E5D-2979-48C9-94F6-6C6D2A8073E6/data/Containers/Bundle/Application/B438FB0C-79A7-445E-B381-5D7E9247623B/demo.app/demo
Reason: no suitable image found. Did find:
/Library/Application Support/Cylance/Desktop/CyMemDef.dylib: mach-o, but not built for iOS simulator









share|improve this question























  • Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
    – Jochen
    Nov 2 at 20:55















up vote
5
down vote

favorite












I am working on a new Macbook and just downloaded and installed Xcode with developer tools.



I have create a brand new project in Xcode (no modification or adding framework / pods). I am trying to run the same on simulator. When I do, my app crashes with "SIGABRT". The log shows the following message:



dyld: Library not loaded: /Library/Application Support/Cylance/Desktop/CyMemDef.dylib
Referenced from: /Users/me/Library/Developer/CoreSimulator/Devices/80FC5E5D-2979-48C9-94F6-6C6D2A8073E6/data/Containers/Bundle/Application/B438FB0C-79A7-445E-B381-5D7E9247623B/demo.app/demo
Reason: no suitable image found. Did find:
/Library/Application Support/Cylance/Desktop/CyMemDef.dylib: mach-o, but not built for iOS simulator









share|improve this question























  • Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
    – Jochen
    Nov 2 at 20:55













up vote
5
down vote

favorite









up vote
5
down vote

favorite











I am working on a new Macbook and just downloaded and installed Xcode with developer tools.



I have create a brand new project in Xcode (no modification or adding framework / pods). I am trying to run the same on simulator. When I do, my app crashes with "SIGABRT". The log shows the following message:



dyld: Library not loaded: /Library/Application Support/Cylance/Desktop/CyMemDef.dylib
Referenced from: /Users/me/Library/Developer/CoreSimulator/Devices/80FC5E5D-2979-48C9-94F6-6C6D2A8073E6/data/Containers/Bundle/Application/B438FB0C-79A7-445E-B381-5D7E9247623B/demo.app/demo
Reason: no suitable image found. Did find:
/Library/Application Support/Cylance/Desktop/CyMemDef.dylib: mach-o, but not built for iOS simulator









share|improve this question















I am working on a new Macbook and just downloaded and installed Xcode with developer tools.



I have create a brand new project in Xcode (no modification or adding framework / pods). I am trying to run the same on simulator. When I do, my app crashes with "SIGABRT". The log shows the following message:



dyld: Library not loaded: /Library/Application Support/Cylance/Desktop/CyMemDef.dylib
Referenced from: /Users/me/Library/Developer/CoreSimulator/Devices/80FC5E5D-2979-48C9-94F6-6C6D2A8073E6/data/Containers/Bundle/Application/B438FB0C-79A7-445E-B381-5D7E9247623B/demo.app/demo
Reason: no suitable image found. Did find:
/Library/Application Support/Cylance/Desktop/CyMemDef.dylib: mach-o, but not built for iOS simulator






ios xcode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 4 at 6:46









Cœur

17.1k9102140




17.1k9102140










asked Nov 2 at 7:34









Vishal Aggarwal IndieGameTalks

283




283











  • Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
    – Jochen
    Nov 2 at 20:55

















  • Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
    – Jochen
    Nov 2 at 20:55
















Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
– Jochen
Nov 2 at 20:55





Same problem on my site. This seems to be a library of the Cylance Protect Software. Old projects start without problems. Only new projects have that problem in XCODE 10.1
– Jochen
Nov 2 at 20:55













1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










The solution for me was to change my project's iOS Deployment Target to 11.4 or earlier.



With iOS Deployment Target 12.0, the app crashes every time!



I am running Xcode 10.0 and Cylance 2.0.1500.518 on macOS High Sierra 10.13.6.






share|improve this answer




















  • Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
    – Vishal Aggarwal IndieGameTalks
    Nov 11 at 5:17










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53114398%2fxcode-simulator-cymemdef-dylib-mach-o-but-not-built-for-ios-simulator%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










The solution for me was to change my project's iOS Deployment Target to 11.4 or earlier.



With iOS Deployment Target 12.0, the app crashes every time!



I am running Xcode 10.0 and Cylance 2.0.1500.518 on macOS High Sierra 10.13.6.






share|improve this answer




















  • Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
    – Vishal Aggarwal IndieGameTalks
    Nov 11 at 5:17














up vote
2
down vote



accepted










The solution for me was to change my project's iOS Deployment Target to 11.4 or earlier.



With iOS Deployment Target 12.0, the app crashes every time!



I am running Xcode 10.0 and Cylance 2.0.1500.518 on macOS High Sierra 10.13.6.






share|improve this answer




















  • Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
    – Vishal Aggarwal IndieGameTalks
    Nov 11 at 5:17












up vote
2
down vote



accepted







up vote
2
down vote



accepted






The solution for me was to change my project's iOS Deployment Target to 11.4 or earlier.



With iOS Deployment Target 12.0, the app crashes every time!



I am running Xcode 10.0 and Cylance 2.0.1500.518 on macOS High Sierra 10.13.6.






share|improve this answer












The solution for me was to change my project's iOS Deployment Target to 11.4 or earlier.



With iOS Deployment Target 12.0, the app crashes every time!



I am running Xcode 10.0 and Cylance 2.0.1500.518 on macOS High Sierra 10.13.6.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 at 3:55









Mike Taverne

5,66622138




5,66622138











  • Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
    – Vishal Aggarwal IndieGameTalks
    Nov 11 at 5:17
















  • Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
    – Vishal Aggarwal IndieGameTalks
    Nov 11 at 5:17















Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
– Vishal Aggarwal IndieGameTalks
Nov 11 at 5:17




Thank you -- that worked. I wonder what the problem is with the iOS 12.0 simulator and Cylance
– Vishal Aggarwal IndieGameTalks
Nov 11 at 5:17

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53114398%2fxcode-simulator-cymemdef-dylib-mach-o-but-not-built-for-ios-simulator%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

Syphilis

Darth Vader #20