Home › Forums › Ask the Flomies › ACR35 Sample iOS 10 not work
Tagged: Bitcode error
-
AuthorPosts
-
August 21, 2017 at 12:24 pm #60723
Hi. I tried to debug sdk sample (https://github.com/flomio/flomio_drivers_ios/tree/master/ACR35) on the device. But this version doesn’t work and has error like that
ACR35/Sample Code/AudioJack/libAudioJack.a(ACRDukptReceiver.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
August 21, 2017 at 2:19 pm #60724Hi Vik, you need to
disable bitcode
settings for the build target. More details here:https://stackoverflow.com/questions/30848208/new-warnings-in-ios-9
best,
RichardAugust 22, 2017 at 1:49 am #60739Thks Richard, I corrected. After that Sample is working. I thought to disable bitcode it is not right earlier
September 26, 2017 at 1:13 pm #61161Hi, Richard. After iOS 7 function from <AudioToolbox/AudioToolbox.h> was deprecated.
How can I get data from stripe card with <AVFoundation/AVAudioSession.h> ?
I tried add AVAudioSessionRouteChangeNotification
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(audioRouteChangedHandler:) name:AVAudioSessionRouteChangeNotification object:nil];
added hanfler for the notification
-(void)audioRouteChangedHandler:(NSNotification *)notification{ _reader.mute = isHeadsetPluggedIn(); }
and checked isHeadsetPluggedIn
static BOOL isHeadsetPluggedIn() { AVAudioSessionRouteDescription* route = [[AVAudioSession sharedInstance] currentRoute]; NSLog(@"route %@", route); for (AVAudioSessionPortDescription* desc in [route outputs]) { if ([[desc portType] isEqualToString:AVAudioSessionPortHeadphones]) return YES; } return NO; }
Ofcourse, after all I couldn’t get data from card reader. I tried find the answer but nothing 🙁
Please help me and thanks for your patience
Viktor
October 24, 2017 at 9:04 pm #61385Still stuck? If so where at now?
November 6, 2017 at 3:24 am #61486Yes I still have a problem with this
November 6, 2017 at 3:58 am #61487Have you tried the Flomio Test app?? You can download it from TestFlight by registering on this website:
http://flomio-mw.herokuapp.com
The Test app will allow you to connect to the ACR35 and read NFC tags. Just select FloJack MSR from the launch menu, plug in the reader, and place a NFC tag on the surface. Make sure that your phone volume is raised to the maximum level. The green led on the device should illuminate once a connection is established.
best,
Richard -
AuthorPosts
You must be logged in to reply to this topic.