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.

View Session

Posts under wwdc21-10056 tag

17 Posts
Sort by:
Post not yet marked as solved
1 Replies
221 Views
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
Posted
by harry123.
Last updated
.
Post not yet marked as solved
0 Replies
237 Views
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.
Posted
by KOUDAI1.
Last updated
.
Post not yet marked as solved
0 Replies
129 Views
Hi, I just got a new Mac with M1 processor, and I used to use Intel cpu for Python. Now I'm transfering the codes to this Mac, but got error like "RuntimeError: can't start new thread". Anyone know how to solve it? I'm fairly new to programming. =) Thanks
Posted
by Leon211.
Last updated
.
Post not yet marked as solved
0 Replies
193 Views
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]
Posted
by Lookou.
Last updated
.
Post not yet marked as solved
1 Replies
191 Views
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.
Posted
by Sanesh.
Last updated
.
Post not yet marked as solved
0 Replies
184 Views
Class *** 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 *** 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
Posted
by Vishal23.
Last updated
.
Post not yet marked as solved
1 Replies
319 Views
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.
Posted Last updated
.
Post not yet marked as solved
1 Replies
513 Views
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.
Posted
by red_flaws.
Last updated
.
Post not yet marked as solved
1 Replies
285 Views
I want to get a review with [SKStoreReviewController requestReview] in my iOS app. It works fine on iOS phones. However, requestReview does not work when running iOS app on M1 Macbook. I know requestReview is Deprecated. Using requestReviewInScene doesn't work either. What should I do?
Posted
by fingeras.
Last updated
.
Post marked as solved
2 Replies
1.5k Views
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:
Posted Last updated
.
Post not yet marked as solved
2 Replies
926 Views
creating model "model3" Metal device set to: Apple M1 systemMemory: 16.00 GB maxCacheSize: 5.33 GB Episode 1 of 1 2021-10-14 17:46:13.626 python[10722:54381] -[MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x16acdc810 2021-10-14 17:46:13.640 python[10722:54381] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x16acdc810' *** First throw call stack: ( 0 CoreFoundation 0x0000000182887838 __exceptionPreprocess + 240 1 libobjc.A.dylib 0x00000001825b10a8 objc_exception_throw + 60 2 CoreFoundation 0x0000000182918694 -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00000001827e8cd4 ___forwarding___ + 1444 4 CoreFoundation 0x00000001827e8670 _CF_forwarding_prep_0 + 96 5 libmetal_plugin.dylib 0x000000015630a290 _ZN12metal_plugin14MPSApplyAdamOpIfEC2EPNS_20OpKernelConstructionE + 656 6 libmetal_plugin.dylib 0x0000000156309ebc _ZN12metal_pluginL14CreateOpKernelINS_14MPSApplyAdamOpIfEEEEPvP23TF_OpKernelConstruction + 52 7 libtensorflow_framework.2.dylib 0x000000012a00c5d4 _ZN10tensorflow12_GLOBAL__N_120KernelBuilderFactory6CreateEPNS_20OpKernelConstructionE + 88 8 libtensorflow_framework.2.dylib 0x000000012a08e158 _ZN10tensorflow14CreateOpKernelENS_10DeviceTypeEPNS_10DeviceBaseEPNS_9AllocatorEPNS_22FunctionLibraryRuntimeEPNS_11ResourceMgrERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEiPPNS_8OpKernelE + 784 9 libtensorflow_framework.2.dylib 0x000000012a2692b8 _ZN10tensorflow21CreateNonCachedKernelEPNS_6DeviceEPNS_22FunctionLibraryRuntimeERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEiPPNS_8OpKernelE + 272 10 libtensorflow_framework.2.dylib 0x000000012a213c20 _ZN10tensorflow26FunctionLibraryRuntimeImpl12CreateKernelERKNSt3__110shared_ptrIKNS_14NodePropertiesEEEPNS_22FunctionLibraryRuntimeEPPNS_8OpKernelE + 600 11 libtensorflow_framework.2.dylib 0x000000012a27e430 _ZN10tensorflow22ImmutableExecutorState10InitializeERKNS_5GraphE + 1192 12 libtensorflow_framework.2.dylib 0x000000012a269064 _ZN10tensorflow16NewLocalExecutorERKNS_19LocalExecutorParamsERKNS_5GraphEPPNS_8ExecutorE + 304 13 libtensorflow_framework.2.dylib 0x000000012a276e6c _ZN10tensorflow12_GLOBAL__N_124DefaultExecutorRegistrar7Factory11NewExecutorERKNS_19LocalExecutorParamsERKNS_5GraphEPNSt3__110unique_ptrINS_8ExecutorENS9_14default_deleteISB_EEEE + 48 14 libtensorflow_framework.2.dylib 0x000000012a2777e8 _ZN10tensorflow11NewExecutorERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_19LocalExecutorParamsERKNS_5GraphEPNS0_10unique_ptrINS_8ExecutorENS0_14default_deleteISG_EEEE + 92 15 libtensorflow_framework.2.dylib 0x000000012a216278 _ZN10tensorflow26FunctionLibraryRuntimeImpl10CreateItemEPPNS0_4ItemE + 2676 16 libtensorflow_framework.2.dylib 0x000000012a21706c _ZN10tensorflow26FunctionLibraryRuntimeImpl3RunERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEENSB_8functionIFvRKNS_6StatusEEEE + 676 17 libtensorflow_framework.2.dylib 0x000000012a2250c0 _ZNK10tensorflow29ProcessFunctionLibraryRuntime14RunMultiDeviceERKNS_22FunctionLibraryRuntime7OptionsEyPNSt3__16vectorIN4absl12lts_202103247variantIJNS_6TensorENS_11TensorShapeEEEENS5_9allocatorISC_EEEEPNS6_INS5_10unique_ptrINS0_11CleanUpItemENS5_14default_deleteISI_EEEENSD_ISL_EEEENS5_8functionIFvRKNS_6StatusEEEENSP_IFSQ_RKNS0_21ComponentFunctionDataEPNS0_12InternalArgsEEEE + 2640 18 libtensorflow_framework.2.dylib 0x000000012a228098 _ZNK10tensorflow29ProcessFunctionLibraryRuntime3RunERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEENSB_8functionIFvRKNS_6StatusEEEE + 2012 19 libtensorflow_framework.2.dylib 0x000000012a228868 _ZNK10tensorflow29ProcessFunctionLibraryRuntime7RunSyncERKNS_22FunctionLibraryRuntime7OptionsEyN4absl12lts_202103244SpanIKNS_6TensorEEEPNSt3__16vectorIS8_NSB_9allocatorIS8_EEEE + 160 20 _pywrap_tensorflow_internal.so 0x000000013c175554 _ZN10tensorflow19KernelAndDeviceFunc3RunEPNS_19ScopedStepContainerERKNS_15EagerKernelArgsEPNSt3__16vectorIN4absl12lts_202103247variantIJNS_6TensorENS_11TensorShapeEEEENS6_9allocatorISD_EEEEPNS_19CancellationManagerERKNS9_8optionalINS_25EagerRemoteFunctionParamsEEERKNSK_INS_17ManagedStackTraceEEE + 516 21 _pywrap_tensorflow_internal.so 0x000000013c13fd60 _ZN10tensorflow18EagerKernelExecuteEPNS_12EagerContextERKN4absl12lts_2021032413InlinedVectorIPNS_12TensorHandleELm4ENSt3__19allocatorIS6_EEEERKNS3_8optionalINS_25EagerRemoteFunctionParamsEEERKNS7_10unique_ptrINS_15KernelAndDeviceENS_4core15RefCountDeleterEEEPNS_14GraphCollectorEPNS_19CancellationManagerENS3_4SpanIS6_EERKNSD_INS_17ManagedStackTraceEEE + 372 ... ... 80 python 0x00000001021f5ddc main + 56 81 libdyld.dylib 0x0000000182729430 start + 4 ) libc++abi: terminating with uncaught exception of type NSException I have built a deep Q network using python. It can work on Windows, but I cannot run it on MacBook with M1. I had already checked the issue about matplotlib, it is not the case. Hope to get a response ASAP, thanks in advance.
Posted
by DDHH.
Last updated
.
Post not yet marked as solved
0 Replies
366 Views
after enabling the root user I followed the steps always used, ifconfig en1 (...) but nothing, no errors but the Mac Address always remains the same,Antonella can help me?!
Posted
by Ilmet.
Last updated
.
Post not yet marked as solved
0 Replies
581 Views
I really love Quartz Composer from Apple which is a quite old app, not updated for years. It works well on my 2015 mid MacBook Pro, but not on new M1 iMac. Does anyone know how to run this great app on my new machine? Thank you!
Posted Last updated
.