Xcode console debugging common commands

The debugging skills in Xcode are closely related to our daily development. These debugging skills often have half the power when we solve bugs, and often use various breakpoints and commands. Debug command In the above figure, the green area on the right is the Log output area. In the Log output ...

Posted by kevinc on Sun, 19 Jan 2020 05:28:35 -0800

Solution of "running package script" for MAC installing MacPorts card

Click the upper right corner to force the end of "installer" Open terminal, enter the command "ps -ef | grep install", find the legacy process and kill it Install Xcode Enter the command "xcodebuild -license" and agree MacPorts is stuck because the installation script uses Rsync update during the installation pro ...

Posted by swathin2 on Thu, 09 Jan 2020 07:11:03 -0800

About ionic3 Aurora push Registration ID cannot be obtained for the first time

Question: 1. The Registration ID cannot be obtained for the first time. You can use setTimeout to delay obtaining. 2. For Registration ID, the first time you open the app, you cannot get the id until you exit the app. Because the login user needs to be associated, the id must be sent to the background after login. Edition: ...

Posted by djmc48 on Sun, 05 Jan 2020 14:14:25 -0800

Enterprise app ipa package deployed to its own server

Preface:Recently, it has started to march into the pit of uni app mixed development, which has been mined countless, and its strength can be improved a little every time it crosses a pit. Now you need to deploy the enterprise app ipa package to your own server to download. All ipa packages deploy their own servers and finally have the following ...

Posted by iandotcom on Sun, 01 Dec 2019 13:11:54 -0800

iOS uses shell script to run Python file to realize automatic package and upload after compilation

For example Because the test environment often needs to be modified, packaged, tested, modified, etc., if xcode's native packaging method is time-consuming, or automatic integration tools such as Fastlane and Jenkins are used, but the early configuration is cumbersome and laborious, and the later problems are not easy to solve. The ...

Posted by richtom80 on Sat, 30 Nov 2019 21:27:21 -0800

[Android] Macbook Pro 10.14 (MacOS mobile) compiling Android 9.0 (aosp master) process record

Remember the process of compiling Android source code Experimental environment MacOS Mojave 10.14; RAM 16G SSD hard disk 960G Access to google's Network Environment Step 1: prepare the environment Please refer to the official website: https://source.android.com/setup/build/initializing Prepare disk Disk image mode (25 ...

Posted by saurabhdutta on Tue, 12 Nov 2019 08:48:13 -0800

Twitter sharing and authorization (iOS)

PreparationRegister for appkeyIntegrated sharesdk (download address)Xcode configuration: urlScheme is the registered appkey, white list: douyinsharesdk, douyinopensdkBusiness codeInitialization import <ShareSDK/ShareSDK.h> [ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) { //Jitter [platformsRegister setupDouyinByAppKey:@"app_ ...

Posted by avillanu on Sun, 10 Nov 2019 11:09:43 -0800

inline exploration under clang compiler

inline exploration under clang compiler Today, I saw an article about the introduction of inline functions, which mentioned the functions and application scenarios of inline functions. I just read some materials of clang compiler recently, and I just sent some time to explore The introduction of this article is as follows Inline function(htt ...

Posted by nsarisk on Sat, 09 Nov 2019 02:50:38 -0800

Thinking and feeling of the first reading of Kingfisher network image cache Library

The OC version of SDWebimage that I read before is mature due to the development trend of Swift. It's also time to practice (think of Andy Lau's practice), think, read and write while flying in the world. At first, I plan to read it from the beginning, but the Kingfisher version is limited to upgrading with the Swift version, so if you want to ...

Posted by gli on Tue, 05 Nov 2019 19:55:52 -0800

Advanced sharing in iOS development - new framework in iOS 13 - MetriKit

MetriKit is a new framework for collecting and processing batteries and performance metrics in iOS 13. This is WWDC working with XCTestMetrics and Xcode Metrics organizers this year as part of a concerted effort to bring new insights to developers about the performance of their applications in this area. Apple will automatically collect Metr ...

Posted by wilsonodk on Wed, 23 Oct 2019 23:44:18 -0700