Qualities of great iPad and iPhone apps on Macs with M1

RSS for tag

Discuss the WWDC21 session Qualities of great iPad and iPhone apps on Macs with M1.

Posts under wwdc21-10056 tag

14 Posts

Post

Replies

Boosts

Views

Activity

Trace/BPT trap: 5 problem in m1 mac
hey i am getting a Trace/BPT trap: 5 error in a simple c language code. i am concatenating 2 strings. please if anyone knows help. the code is below: #include <stdio.h> #include <string.h> int main() { char x[10]= "hello"; char y[10]= "world"; strcat(x, y); printf("%s", x); } its a beginner code and i think its not picking up the library
1
0
4.2k
May ’22
"Trace / bpt trap 5" is displayed and the build cannot be performed. (xcode)
As the title says, when I try to build with xcode (storyboard), I get the error "trace / bpt trap 5" (Swift Compiler Err). No error is displayed in the code itself. When I googled this error statement, I found many people with similar errors, but I haven't found a definitive solution. Someone has faced this error, could you give me some advice? (Development environment) ・appleM1 ・macOS Monterey 12.3.1 ・xcode 13.3. (What I tried) ・Restart the PC (M1mac) ・Restart xcode ・ Installation and update of pod (terminal) ・ Check if Team ID is entered ・Clear cache with command + shift + K If there is a lack of explanation, it would be helpful if you could point it out.
1
0
1.8k
May ’22
Running Python OpenCV on M1 Max Error
Details Environment: Macbook Pro Chip Apple M1 Max [xxxxxx]$ python3.10 Python 3.10.2 (main, Feb 2 2022, 06:19:27) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> cv2.__version__ '4.5.5' >>> cv2.VideoCapture(0) .... .... .... 2022-04-18 19:59:59.145 Python[2550:31947] exceedshare-mac-virtualcam(DAL): -[DALPlugIn startStream] 2022-04-18 19:59:59.145 Python[2550:32034] exceedshare-mac-virtualcam(DAL): -[DALStream startServingDefaultFrames] 2022-04-18 19:59:59.145 Python[2550:32034] exceedshare-mac-virtualcam(DAL): Server is not available <VideoCapture 0x109330030> >>> 2022-04-18 19:59:59.893 Python[2550:32093] exceedshare-mac-virtualcam(DAL): Server is not available 2022-04-18 20:00:00.893 Python[2550:32093]
0
0
1k
Apr ’22
M1 optimized apps
Hi there. I just started my journey into programming. I’m confused about the Arm architecture. Say I only want to develop apps for MacOS written in Swift. Does it mean that my app will automatically be optimized for M1? I hear a lot about how other larger apps are still not optimized. So if they were written for Intel chips, what language did they use. Or how do you write code for M1? Thank you.
1
0
1k
Apr ’22
App crash on Xcode 13.2.1 with apple M1 chip set
Class XXX is implemented in both, One of the two will be used. Which one is undefined. I have been promoted to apple MacBook Pro M1 chip set. After trying to install the app on simulator I am getting above error and crashing the app after launching. Xcode version:- 13.2.1 OS version:- 12.1 Above XXX is from the pod file. I need it badly solved as my mobile app developement is been stopped and no solution available so far. Thanks
0
0
1.2k
Mar ’22
Bluetooth/airplay issues in macOS Monterey v 12.2
For a while now there seem to be an issue with airplay/bluetooth. Im not really sure if it is an hardware or software issue. A simple uses case is when i airplay from my m1 mac mini, to an homepod mini. There are two main issues: Bluetooth lag, any action on the mac takes a very long second to take affect on the destination device, in this case the homepod. Connection lost, every now and then there is a drop in connection, although the mac seems to still stream, the receiver device is losing signals. After a look into the logs, few error keeps on show: blutoothd (as process) and the error is: setReportResponse: Unexpected entry on OSX AirPlayXPCHelper (as process) and the error is: metadataSender_sendAPProgressMetadata:720: got error -6727/0xFFFFE5B9 kNotFoundErr My question is then is there a way to fix these? i'm not hoping that the lag issue will be resolved entirely but my hope is these are software issues rather than hardware ones.
1
0
1.5k
Mar ’22
Boot Camp Assistant on Mac M1 chip
Hi Apple, When will you grant access for Boot Camp Assistant for Mac M1 Chip? It is very useful for me when I use Boot Camp. Not only for work but also for gaming. Or at least you can add many features and games on Mac M1 Chip like, Ganshin Impact, Final Fantasy, etc. Thank you for your kind. I hope you grant my wish.
1
0
1.3k
Feb ’22
Run/Debug iOS-app on M1-Mac with Xcode12.5, very very slow ,unbelievable !
Device : apple m1 Mac-mini Xcode : 12.5 Debug Task: I have developer-id ,so I can run iOS-App on Mac,not iPhone. When I run on Mac-mini, device chose (My Mac(Designed for iPad)), it is unbelievable slow, I wait about 10 minutes, it still stuck on launching, and not start. When I run on iPhone 11, it just cost 40 seconds(I know it is also slow, but acceptable ). My guess: I use Xcode Marco DYLD_PRINT_STATISTICS_DETAILS to analyze start-time , it turns out to be that it spend a lot of time on "rebase ,binding " and "total debugger pause time". I wonder if or not because of that  I target_link_libraries too many frameworks(about 9). I have no. clue now ,  Is there anyone  encountered this problem and solved, please give me some advices ,Thank you  so. much  !!!!! (By the way , my iOS-app bundle size is about 205M ) Here is the screenshot:
3
0
3.2k
Nov ’21
Trace/BPT trap: 5 problem in m1 mac
hey i am getting a Trace/BPT trap: 5 error in a simple c language code. i am concatenating 2 strings. please if anyone knows help. the code is below: #include <stdio.h> #include <string.h> int main() { char x[10]= "hello"; char y[10]= "world"; strcat(x, y); printf("%s", x); } its a beginner code and i think its not picking up the library
Replies
1
Boosts
0
Views
4.2k
Activity
May ’22
"Trace / bpt trap 5" is displayed and the build cannot be performed. (xcode)
As the title says, when I try to build with xcode (storyboard), I get the error "trace / bpt trap 5" (Swift Compiler Err). No error is displayed in the code itself. When I googled this error statement, I found many people with similar errors, but I haven't found a definitive solution. Someone has faced this error, could you give me some advice? (Development environment) ・appleM1 ・macOS Monterey 12.3.1 ・xcode 13.3. (What I tried) ・Restart the PC (M1mac) ・Restart xcode ・ Installation and update of pod (terminal) ・ Check if Team ID is entered ・Clear cache with command + shift + K If there is a lack of explanation, it would be helpful if you could point it out.
Replies
1
Boosts
0
Views
1.8k
Activity
May ’22
Running Python OpenCV on M1 Max Error
Details Environment: Macbook Pro Chip Apple M1 Max [xxxxxx]$ python3.10 Python 3.10.2 (main, Feb 2 2022, 06:19:27) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> cv2.__version__ '4.5.5' >>> cv2.VideoCapture(0) .... .... .... 2022-04-18 19:59:59.145 Python[2550:31947] exceedshare-mac-virtualcam(DAL): -[DALPlugIn startStream] 2022-04-18 19:59:59.145 Python[2550:32034] exceedshare-mac-virtualcam(DAL): -[DALStream startServingDefaultFrames] 2022-04-18 19:59:59.145 Python[2550:32034] exceedshare-mac-virtualcam(DAL): Server is not available <VideoCapture 0x109330030> >>> 2022-04-18 19:59:59.893 Python[2550:32093] exceedshare-mac-virtualcam(DAL): Server is not available 2022-04-18 20:00:00.893 Python[2550:32093]
Replies
0
Boosts
0
Views
1k
Activity
Apr ’22
M1 optimized apps
Hi there. I just started my journey into programming. I’m confused about the Arm architecture. Say I only want to develop apps for MacOS written in Swift. Does it mean that my app will automatically be optimized for M1? I hear a lot about how other larger apps are still not optimized. So if they were written for Intel chips, what language did they use. Or how do you write code for M1? Thank you.
Replies
1
Boosts
0
Views
1k
Activity
Apr ’22
App crash on Xcode 13.2.1 with apple M1 chip set
Class XXX is implemented in both, One of the two will be used. Which one is undefined. I have been promoted to apple MacBook Pro M1 chip set. After trying to install the app on simulator I am getting above error and crashing the app after launching. Xcode version:- 13.2.1 OS version:- 12.1 Above XXX is from the pod file. I need it badly solved as my mobile app developement is been stopped and no solution available so far. Thanks
Replies
0
Boosts
0
Views
1.2k
Activity
Mar ’22
Bluetooth/airplay issues in macOS Monterey v 12.2
For a while now there seem to be an issue with airplay/bluetooth. Im not really sure if it is an hardware or software issue. A simple uses case is when i airplay from my m1 mac mini, to an homepod mini. There are two main issues: Bluetooth lag, any action on the mac takes a very long second to take affect on the destination device, in this case the homepod. Connection lost, every now and then there is a drop in connection, although the mac seems to still stream, the receiver device is losing signals. After a look into the logs, few error keeps on show: blutoothd (as process) and the error is: setReportResponse: Unexpected entry on OSX AirPlayXPCHelper (as process) and the error is: metadataSender_sendAPProgressMetadata:720: got error -6727/0xFFFFE5B9 kNotFoundErr My question is then is there a way to fix these? i'm not hoping that the lag issue will be resolved entirely but my hope is these are software issues rather than hardware ones.
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’22
Boot Camp Assistant on Mac M1 chip
Hi Apple, When will you grant access for Boot Camp Assistant for Mac M1 Chip? It is very useful for me when I use Boot Camp. Not only for work but also for gaming. Or at least you can add many features and games on Mac M1 Chip like, Ganshin Impact, Final Fantasy, etc. Thank you for your kind. I hope you grant my wish.
Replies
1
Boosts
0
Views
1.3k
Activity
Feb ’22
Run/Debug iOS-app on M1-Mac with Xcode12.5, very very slow ,unbelievable !
Device : apple m1 Mac-mini Xcode : 12.5 Debug Task: I have developer-id ,so I can run iOS-App on Mac,not iPhone. When I run on Mac-mini, device chose (My Mac(Designed for iPad)), it is unbelievable slow, I wait about 10 minutes, it still stuck on launching, and not start. When I run on iPhone 11, it just cost 40 seconds(I know it is also slow, but acceptable ). My guess: I use Xcode Marco DYLD_PRINT_STATISTICS_DETAILS to analyze start-time , it turns out to be that it spend a lot of time on "rebase ,binding " and "total debugger pause time". I wonder if or not because of that  I target_link_libraries too many frameworks(about 9). I have no. clue now ,  Is there anyone  encountered this problem and solved, please give me some advices ,Thank you  so. much  !!!!! (By the way , my iOS-app bundle size is about 205M ) Here is the screenshot:
Replies
3
Boosts
0
Views
3.2k
Activity
Nov ’21