Post not yet marked as solved
Hello, I wanna make my own version of the rainbow brackets extension for Xcode, but using swift. A good example of this extension would be Rainbow Brackets for Intellij.
Also, if there is any good tutorial or course about this let me know.
Post not yet marked as solved
tring to download version on xcode for catalina beta 11.5?DO you how to download the pack essential?please help
Hello everyone,
On this M1 machine running macOS 12 Beta 6 (Monterey) I am unable to open File Merge if I configure Xcode 13 Beta 5 as the default Xcode (or if I try to start it from Spotlight and ensure it is the Xcode 13 Beta 5’s version). It always crash on startup.
FileMerge crashes with the following error:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/XcodeKit.framework/Versions/A/XcodeKit
Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDESourceEditor.framework/Versions/A/IDESourceEditor
If you have seen this issue as well, could you please raise a bug and reference Feedback ID: FB9609434 ?
Note(s): I have both Xcode 12.5.1 and Xcode 13.0 Beta 5 installed on this machine and the only version of FileMerge that works is the Xcode 12.5.1 one.
Kind Regards,
Goffredo
Post not yet marked as solved
Folks I'm trying to handle a linking problem coming out of linking a command line app to a c++ based library. But if I defined those methods inline with the class definition, no problem is there ...
Problem shows --
Ld Build/Products/Debug/COMM_Srv normal x86_64
cd /Users/prokash.sinha/mysrc/C++/COMM_Srv
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos11.3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -L/Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug -L/Users/prokash.sinha/mysrc/C++/COMM-BUS/Build/Products/Debug -F/Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug -filelist /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -v -lCOMM-BUS -Xlinker -dependency_info -Xlinker /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv_dependency_info.dat -o /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug/COMM_Srv
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-macos11.3
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 11.3.0 11.3 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -o /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug/COMM_Srv -L/Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug -L/Users/prokash.sinha/mysrc/C++/COMM-BUS/Build/Products/Debug -filelist /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv.LinkFileList -object_path_lto /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv_lto.o -export_dynamic -no_deduplicate -lCOMM-BUS -dependency_info /Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Intermediates.noindex/COMM_Srv.build/Debug/COMM_Srv.build/Objects-normal/x86_64/COMM_Srv_dependency_info.dat -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a -F/Users/prokash.sinha/mysrc/C++/COMM_Srv/Build/Products/Debug
Undefined symbols for architecture x86_64:
"TCPStream::s_send(char*, long)", referenced from:
_main in main.o
"TCPStream::receive(char*, long)", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
nm on the lib --
bash-3.2$ nm Products/Debug/libCOMM-BUS.dylib | grep TCPStream
0000000000003710 T __ZN9TCPStream6s_sendEPcl
00000000000037a0 T __ZN9TCPStream7receiveEPcl
0000000000003660 T __ZN9TCPStreamC1EiP11sockaddr_un
00000000000035a0 T __ZN9TCPStreamC2EiP11sockaddr_un
00000000000036f0 T __ZN9TCPStreamD1Ev
0000000000003690 T __ZN9TCPStreamD2Ev
Constructor and Destructor defines are fine in the cpp file. The s_send and receive methods are not like one or two liners, so was trying to put them in C++ implementation files.
Is there something more I need in terms of linking ?
TIA
-P
Post not yet marked as solved
I am new to Xcode. I have been trying connect my Xcode to my iPhone , for testing my app but I am having trouble with it. The screen keeps on blinking with the message ' iPhone is busy, Xcode is waiting for iPhone to finish'
Post not yet marked as solved
hi, i wan't debug my project.
but i get this error when installl my game .
i try change my device . but get same error.
Unable to install "SpeedGame"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
An unknown error has occurred.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
DVTRadarComponentKey = 280331;
MobileDeviceErrorCode = "(0xE8008001)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x0000000125473316 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x00000001254b184a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010a699ed4 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x00000001254b1594 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1420
4 IDEiOSSupportCore 0x000000012532eb4e __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3508
5 DVTFoundation 0x000000010a7cdc37 DVT_CALLING_CLIENT_BLOCK + 7
6 DVTFoundation 0x000000010a7cf3a3 __DVTDispatchAsync_block_invoke + 931
7 libdispatch.dylib 0x00007fff202bc623 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff202bd806 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff202c35ea _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff202c40ad _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007fff202cdc0d _dispatch_workloop_worker_thread + 811
12 libsystem_pthread.dylib 0x00007fff2046445d _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff2046342f start_wqthread + 15
);
}
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPad8,7";
"device_osBuild" = "15.0 (19A346)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 413108;
"operation_errorCode" = "-402620415";
"operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
"operation_errorWorker" = IDEInstalliPhoneLauncher;
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 5;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_runnable_swiftVersion" = "5.5";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos15.0";
"sdk_osVersion" = "15.0";
"sdk_variant" = iphoneos;
}
System Information
macOS Version 11.5.2 (Build 20G95)
Xcode 13.0 (19234) (Build 13A233)
Timestamp: 2021-10-22T10:39:21+08:00
Post not yet marked as solved
can I use chrome and Microsoft edge's extension on safari ??
Post not yet marked as solved
I am trying to subtract one double value with another but I am getting an invalid result. The result for 4.15 - 0.2 works but fails for 4.14 and 4.13.
Post not yet marked as solved
Are there any active Facebook or discord groups?
Sometime appconnect down and would like to ask whether other developer faces the same issue.
Post not yet marked as solved
I'd like to add a short script that runs clang-format upon trying to save a file in Xcode project.
the script will do the following command :
#!/bin/zsh
/usr/local/bin/clang-format -i <saved_file>
Does Xcode support this feature (in visual studio it's called
format-on-save :
https://code.visualstudio.com/updates/v1_6#_format-on-save
Post not yet marked as solved
I want to develop based on iOS and I did some verifications based on xCode Instruments firstly.
But there are some confusions on the verification results.
I did the test to open a file in 1KB size.
The analysis results from xCode Instruments is as followings:
In "Disk Usage", it shows that there are 4KB "Page In" operations. (Please refer to P1.png attached)
In "Virtual Memory Trace", it shows totally 4-times of "File Backed Page In" operations, and each operation size is 16K. (Please refer to P2.png & P3.png attached)
That is, Size of "File Backed Page In" is around 4*16K=64KB.
I did similar tests on different size of files.
Every time the values of "Disk Usage"->"Page In" and "Virtual Memory Trace"->"File Backed Page In" are not matched (In this example, the two results are 4KB vs. 64KB).
I think that both values represent disk IO size of the process and they should be in the same value for the same process.
Why the values are different?
What are the differences between this two options in xCode Instrument tool?
Thanks a lot.
Hey guys , I am new to mac
I just downloaded the command line tools 12.4 from the apple developer site it was in .dmg file because xcode-select --install was getting stuck at "finding software". I had put that in my Xcode developer folder but when I run xcode-select -p its not showing the path /Applications/Xcode.app/Contents/Developer or if i run xcode-select --install it asks to install command line(gets stuck on finding software.
What should I do , I am new to mac I have no idea , can not find anything on youtube which is helpful.
Post not yet marked as solved
Hello,
I am a new developer and I am getting adjusted to Xcode storyboard and I haven't bean able to find a option to add another page. if anyone knows how to do this.
Thanks,
Andrew
Post not yet marked as solved
I am using xctrace record to instrument my ios app, but in previous instruments there is a way to attach ui script to run along with app, to perform different operations on the app using UIASCRIPT options. What is the equivalent here
Post not yet marked as solved
the error will go away after new 7 days?
Post not yet marked as solved
I am facing this error when try to distribute the app. My app is running fine in my device. When I make an archive successfully and try to distribute it I am facing the problem. My Xcode version is 13.3