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

Introduction to CMake-02-HelloWorld Extension

work environment System: macOS Mojave 10.14.6 CMake: Version 3.15.0-rc4 Hello,World! Extension - The same directory, multiple source files (1) Create a new hello directory, create files CMakeLists.txt, main.cpp, MathFunctions.h, MathFunctions.cpp $ mkdir hello $ cd hello $ touch CMakeLists.txt main.cpp MathFunctions.h MathFunctions.cpp $ ll - ...

Posted by thinfile on Sat, 05 Oct 2019 09:26:12 -0700

iOS crash file parsing and common Exception types

Links to the original text: https://www.jianshu.com/p/ce071aa3ffa8   crash file When crash occurs in running APP, if there is a corresponding handler or a third party crash SDK in the code, they will collect the relevant running stack, ...

Posted by slava_php on Mon, 16 Sep 2019 22:36:29 -0700

Memory Management-Manual Memory Management in MRC Era

Manual Memory Management in MRC Era In iOS, the memory of OC objects is managed by reference counting. A newly created OC object reference count defaults to 1. When the reference count is reduced to 0, the OC object will be destroyed and its occup ...

Posted by nileshkulkarni on Thu, 29 Aug 2019 22:39:37 -0700

Thread synchronization lock

1. OSSpinLock High-level lock OSSpinLock is called a spinlock, and threads waiting for locks are busy-wait, occupying CPU resources all the time. At present, it is no longer safe, and there may be priority inversion problem. If the thread wait ...

Posted by one on Wed, 21 Aug 2019 06:47:47 -0700