Comments (4)
Hey Tapan,
With the current information I cannot pinpoint the problem. Sometimes Xcode and iOS Simulator get into a weird state which has no remedy except a full system reboot. Have you tried that or can you provide a more detailed version of the log?
from earlgrey.
Hey Sundeep,
Here are the logs, I can understand that there is some problem in linking the library. But can't figure out what.
Warning: Error creating LLDB target at path '<APP_PATH>'- using an empty LLDB target which can cause slow memory reads from remote devices.
2016-05-03 10:52:01.510 <APP_NAME>[1924:12093] Failed to load test bundle from file://<APP_PATH>/PlugIns/IntegrationTests.xctest/../IntegrationTests.xctest/: Error Domain=NSCocoaErrorDomain Code=3585 "dlopen_preflight(<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests): no suitable image found. Did find:
<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests: mach-o, but wrong architecture" UserInfo={NSLocalizedFailureReason=The bundle doesn’t contain a version for the current architecture., NSLocalizedRecoverySuggestion=Try installing a universal version of the bundle., NSFilePath=<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests, NSDebugDescription=dlopen_preflight(<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests): no suitable image found. Did find:
<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests: mach-o, but wrong architecture, NSBundlePath=<APP_PATH>/PlugIns/IntegrationTests.xctest, NSLocalizedDescription=The bundle “IntegrationTests” couldn’t be loaded because it doesn’t contain a version for the current architecture.}
2016-05-03 10:52:01.512 <APP_NAME>[1924:12093] IDEBundleInjection Arguments: (
"/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Containers/Bundle/Application/14CCA72B-7854-409B-8C72-92DD62FEE1E9/<APP_NAME>.app/<APP_NAME>",
"-NSTreatUnknownArgumentsAsOpen",
NO,
"-ApplePersistenceIgnoreState",
YES
)
2016-05-03 10:52:01.513 <APP_NAME>[1924:12093] IDEBundleInjection Environment: {
"CFFIXED_USER_HOME" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Containers/Data/Application/F84BD539-010A-4C16-ADF1-2ECA4D3CBDD6";
"CFLOG_FORCE_STDERR" = YES;
CLASSIC = 0;
"CUPS_SERVER" = "/private/tmp/com.apple.launchd.K4oI91Sea6/Listeners";
"DTX_CONNECTION_SERVICES_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework";
"DYLD_FALLBACK_FRAMEWORK_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks";
"DYLD_FALLBACK_LIBRARY_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib";
"DYLD_FRAMEWORK_PATH" = "/Users/tapan/TW/Project/ios/Source/<APP_NAME>/Build/Intermediates/CodeCoverage/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
"DYLD_INSERT_LIBRARIES" = "";
"DYLD_LIBRARY_PATH" = "/Users/tapan/TW/Project/ios/Source/<APP_NAME>/Build/Intermediates/CodeCoverage/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
"DYLD_ROOT_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
"DYLD_SHARED_REGION" = avoid;
FBSClientLogging = 0;
HOME = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Containers/Data/Application/F84BD539-010A-4C16-ADF1-2ECA4D3CBDD6";
"IOS_SIMULATOR_SYSLOG_SOCKET" = "/private/tmp/com.apple.CoreSimulator.SimDevice.E4CC726F-6E44-41E4-8DA2-3CAB6643FD04.launchd_sim/syslogsock";
"IPHONE_SHARED_RESOURCES_DIRECTORY" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data";
"IPHONE_SIMULATOR_CLASS" = N56;
"IPHONE_SIMULATOR_DEVICE" = iPhone;
"IPHONE_SIMULATOR_ROOT" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
"IPHONE_TVOUT_EXTENDED_PROPERTIES" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Library/Application Support/iPhone Simulator/com.apple.iphonesimulator/extended_display.plist";
"LLVM_PROFILE_FILE" = "/var/folders/zc/c6hk5_rd3957yhjv0b5l98xc0000gp/T/<BUNDLE_IDENTIFIER>/CD424911-AC6C-47D1-A445-89CC153AB672-572-00000015A3E3B79E/<APP_NAME>.app-%p.profdata";
NSApplicationQuitWithoutSuddenTermination = YES;
NSUnbufferedIO = YES;
"OBJC_DISABLE_GC" = YES;
PATH = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/sbin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/local/bin";
"SIMULATOR_CAPABILITIES" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/DeviceTypes/iPhone 6 Plus.simdevicetype/Contents/Resources/capabilities.plist";
"SIMULATOR_DEVICE_NAME" = "iPhone 6 Plus";
"SIMULATOR_EXTENDED_DISPLAY_PROPERTIES" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Library/Application Support/iPhone Simulator/com.apple.iphonesimulator/extended_display.plist";
"SIMULATOR_HOST_HOME" = "/Users/tapan";
"SIMULATOR_LEGACY_ASSET_SUFFIX" = iphone;
"SIMULATOR_LOG_ROOT" = "/Users/tapan/Library/Logs/CoreSimulator/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04";
"SIMULATOR_MAINSCREEN_HEIGHT" = 2208;
"SIMULATOR_MAINSCREEN_PITCH" = "461.000000";
"SIMULATOR_MAINSCREEN_SCALE" = "3.000000";
"SIMULATOR_MAINSCREEN_WIDTH" = 1242;
"SIMULATOR_MEMORY_WARNINGS" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/var/run/memory_warning_simulation";
"SIMULATOR_MODEL_IDENTIFIER" = "iPhone7,1";
"SIMULATOR_PLATFORM_RUNTIME_OVERLAY_ROOT" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/RuntimeOverlay";
"SIMULATOR_ROOT" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
"SIMULATOR_RUNTIME_BUILD_VERSION" = 13E230;
"SIMULATOR_RUNTIME_VERSION" = "9.3";
"SIMULATOR_SHARED_RESOURCES_DIRECTORY" = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data";
"SIMULATOR_UDID" = "E4CC726F-6E44-41E4-8DA2-3CAB6643FD04";
"SIMULATOR_VERSION_INFO" = "CoreSimulator 209.19 - Device: iPhone 6 Plus - Runtime: iOS 9.3 (13E230) - DeviceType: iPhone 6 Plus";
"TESTMANAGERD_SIM_SOCK" = "/private/tmp/com.apple.launchd.jE7UlGxlOf/com.apple.testmanagerd.unix-domain.socket";
TMPDIR = "/Users/tapan/Library/Developer/CoreSimulator/Devices/E4CC726F-6E44-41E4-8DA2-3CAB6643FD04/data/Containers/Data/Application/F84BD539-010A-4C16-ADF1-2ECA4D3CBDD6/tmp";
XCInjectBundleInto = "<APP_PATH>/<APP_NAME>";
"XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
XCTestConfigurationFilePath = "<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests-92CB0A12-1DF5-4F99-87AB-6825EC360E1D.xctestconfiguration";
"XPC_FLAGS" = 0x0;
"XPC_SERVICE_NAME" = "UIKitApplication:<BUNDLE_IDENTIFIER>[0x7222]";
"XPC_SIMULATOR_LAUNCHD_NAME" = "com.apple.CoreSimulator.SimDevice.E4CC726F-6E44-41E4-8DA2-3CAB6643FD04.launchd_sim";
"__XPC_LLVM_PROFILE_FILE" = "/var/folders/zc/c6hk5_rd3957yhjv0b5l98xc0000gp/T/<BUNDLE_IDENTIFIER>/CD424911-AC6C-47D1-A445-89CC153AB672-572-00000015A3E3B79E/<APP_NAME>.app-%p.profdata";
}
from earlgrey.
dlopen_preflight(<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests): no suitable image found. Did find:
<APP_PATH>/PlugIns/IntegrationTests.xctest/IntegrationTests: mach-o, but wrong architecture
The bundle “IntegrationTests” couldn’t be loaded because it doesn’t contain a version for the current architecture.
Check your build settings and make sure integration test target is built for right set of architectures.
from earlgrey.
Thanks Sundeep,
My architectures for my Test target was selected as x86, that was creating the problem. Closing this issue now.
from earlgrey.
Related Issues (20)
- [EarlGrey2] AppFramework does not build - 'GREYUILibUtils.h' file not found HOT 2
- Library not loaded: @rpath/AppFramework.framework/AppFramework
- [EarlGrey1] "Failed to load the test bundle" error in Xcode 14
- Failed to load module 'Helper Bundle' after running some test cases in EarlGrey2
- Blacklist UICompatibilityInputViewController from being tracked above iOS 13. HOT 1
- NSInvalidArgumentException unrecognized selector exception EarlGrey2
- How to integrate UILib (libUILib.a) into UITest/Bundle
- [EarlGrey2] Cocoapods support for MacOS Bundle (White Box Testing)
- Default example test crashes
- [EarlGrey2] Host background port not assigned. Application under test may have failed to launch with latest Cocoapods HOT 1
- Apple Watch Support HOT 2
- SwiftUI ViewRepresentable and UIViewRepresentable is not correctly placed in element hierarchy. HOT 2
- [SwiftUI] Anyway to convert EDOObject to SwiftUI View? HOT 1
- Videos/tutorials for new starters
- EarlGrey build failure
- Apple Vision Pro support
- Cannot find 'EDOHostPort' in scope HOT 2
- Earlgrey Cocoapods v2.2.2 crashes on XCode 15 HOT 3
- Version 2.2.2 fails to build in Xcode 15
- Instability testing with Xcode 15 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earlgrey.