Post not yet marked as solved
I have a bundle that I created that I then distribute with a test app.
Before Monterey it has worked fine.
On Monterey (Intel or Apple Silicon) it stopped returning scan results. I do not get any errors it just doesn't ever call the didDiscoverPeripheral like it used it.
If I make the single change of passing in an array of Service UUID values then suddenly it will find that one device and return scan results.
My bundle and app need to support scanning for all peripherals.
Can someone help me fix this?
Post not yet marked as solved
I am creating a UIBarButtonItem in Objective-C code. I would like to right justify it on the toolbar that I add it too.
Can someone tell me how to do that in code?
Post not yet marked as solved
I have a very simple MacOS app. I build it for M1 and Intel. When I run the app on Big Sur it works fine. When I run it on Monterey it doesn't find any devices.
I have tried this on an Intel 2015 mac with Monterey and my new M1 MBP with Monterey.
When I call the check to see if bluetooth is turned on I do get the centralManagerDidUpdateState with the CBCentralManagerStatePoweredOn, so I am getting some messages.
When I make the call to scanForPeripheralsWithServices and pass in a nil array for serviceUUIDs and any options, this works on Big Sur, but not on Monterey.
Something must have changed I just can't figure out what.
I have read that people are having some trouble with bluetooth devices like Mice and Keyboards. I am not having those issues.
I have some AirPods that work fine.
Can someone tell me what changed for developers for Bluetooth on Monterey?
Post not yet marked as solved
I have created a very simple bundle library. I am transitioning from a 2018 macbook pro Intel to a 2021 MBP M1 Max.
I have the latest xcode installed on both computers.
This library just has a single .h and single .mm Obj-C files.
I have it set to build both M1 and Intel architectures.
When I build this on the Intel mac I can copy my bundle to the M1 mac and use it from the environment that I need it in.
When I build the exact same project on my new mac with M1 and try to run it my environment says it can't find the bundle.
Is there something I need to know about building on the M1 versus Intel?
Post not yet marked as solved
I have an iOS project that I copied from another project and used the rename method to rename it.If I leave the project open and close Xcode the next time I open Xcode it opens this project, but it is read and no files show up.If I close the project (without closing Xcode) and then just open the project again using the recently used or directly, everything is fine.How do I fix this?
Post not yet marked as solved
I have a game that I am updating to 64 bit. One of the things I also want to do is reduce the size of the game for download.I am targeting iOS 9.0.I have a report that my app tool generates that lists how big each part of the app is. The total uncompressed size is 51.3mb.I also at one point had something corrupt in my upload and got a message from apple saying that processing stopped. I followed the link on that error and it took me to some instructions for tech note 2432. This note talks about exporting for ad hoc deployment as a way to see what errors the processing is encountering.I didn't get any errors, so just chalked it up to corruption and did a completely clean build of everything. What I did notice in that ad hoc build, however, was a file detailing the app size.The next build I did was 102mb and processed ok.So just to see what would happen with the ad hoc processing I did that with the same build I just uploaded to the app store that is 102mb.When I build for ad hoc targeting an iPhone 7, the app slicing report says this:> App Thinning Size Report for All Variants of Unity-iPhone> Variant: Unity-iPhone-iPhone 7.ipa> Supported devices: iPhone 7> App + On Demand Resources size: 66.8 MB compressed, 123.9 MB uncompressed> App size: 66.8 MB compressed, 123.9 MB uncompressed> On Demand Resources size: Zero KB compressed, Zero KB uncompressedSo doesn't that mean the my compressed app size on the store should be 66.8 MB?Why is it 102 MB?I also did a build for all supported devices for ad hoc and the size of that ipa is 77mb.Can anyone explain what is going on?