You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[09/11/2017] EDIT: NOT an issue with detox, DO NOT use the ARCHS=i386 flag! This is my failed attempt of a workaround 😅
Everything below this line is my original post, for record purposes only, don't do the same.
I managed to work around this issue, so I thought it would be nice to leave it here in case someone runs into the same problem :)
I followed through the "Getting Started" guide and everything worked nicely until detox test failed with the following message, along with a bunch of other Class foo is implemented in both ... warnings.
I copied the complete fbsimct ... command and tried running it separately, which gave me another message:
{"event_type":"discrete","timestamp":1496770868,"subject":"Error Domain=com.facebook.FBSimulatorControl Code=0 \"Simulator does not support any of the architectures ([x86_64]) of the executable at \/Users\/user\/Projects\/myapp\/ios\/build\/Build\/Products\/Debug-iphonesimulator\/myapp.app\/myapp. Simulator Archs ([i386])\" UserInfo={NSLocalizedDescription=Simulator does not support any of the architectures ([x86_64]) of the executable at \/Users\/user\/Projects\/myapp\/ios\/build\/Build\/Products\/Debug-iphonesimulator\/myapp.app\/myapp. Simulator Archs ([i386])}","event_name":"failure"}
The solution: added the following flags to my xcodebuild command in detox config:
This looks like an issue on your side. Your project is either configured to only build 64bit binaries, or you have built a debug build with active architecture only, targeting a 64bit simulator, then try to run on a 32bit simulator.
[09/11/2017] EDIT: NOT an issue with detox, DO NOT use the
ARCHS=i386
flag! This is my failed attempt of a workaround 😅Everything below this line is my original post, for record purposes only, don't do the same.
I managed to work around this issue, so I thought it would be nice to leave it here in case someone runs into the same problem :)
I followed through the "Getting Started" guide and everything worked nicely until
detox test
failed with the following message, along with a bunch of otherClass foo is implemented in both ...
warnings.I copied the complete
fbsimct ...
command and tried running it separately, which gave me another message:The solution: added the following flags to my
xcodebuild
command in detox config:The text was updated successfully, but these errors were encountered: