iOS– tag –
-
How To write C++ callbacks with Swift’s closure
This article provides instructions on how to write a callback function using Swift's closure for interfacing with a library written in C++ from Swift application. 【Swift and C++ Interoperability (as of August 4, 2022)】 Swift and C++ do... -
How to avoid pod install errors when building Flutter apps
At times, when building a Flutter app on an Apple Silicon Mac, like a MacBook Pro M1, you may encounter failure during pod install. This is when the CocoaPods installation process is executed, for example, by adding a package. This artic... -
How to setup OpenCV (for iOS apps)
OpenCV is an open-source image processing and machine learning library. Its highly functional library allows you to develop applications more efficiently than implementing all image processing and machine learning processes from scratch.... -
Resolving iOS Simulator Issues on Apple Silicon Mac (arm64 Binary Error)
Specific frameworks incorporated into an application may lead to an error, preventing the iOS simulator from running on an Apple Silicon Mac. ld: in /Volumes/Data/src/RK/TechGakuWebSite/SampleCodes/OpenCVTest_iOS/common/opencv2.framework... -
Setup Xcode
We use Xcode to develop applications for the App Platform. This article provides an introduction to getting started with development. 【Register to the Apple Developer Program】 If you aim to develop an app, access documentation and samp... -
How to create tabs in SwiftUI
Use TabView to create tabs in SwiftUI. This article demonstrates how to create tabs in SwiftUI. 【Basic Structure】 The TabView is used in the following structure. struct ContentView: View { var body: some View { TabView { // --- START -... -
[2023/6/2 Updated] System Requirements of Xcode
June 2, 2023, The system requirements of Xcode 14.3.1 was added. When developing an application that supports older operating systems or working on an older operating system yourself, choosing the correct version of Xcode can sometimes b... -
How to resolve xcpretty locale error launched from GitLab CI
When executing XCTest through GitLab CI, you may encounter the following error. /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in `===': invalid byte sequence in US-ASCII (ArgumentError) from /Library/Ruby/Ge... -
Specify the XCTest test environment in which GitLab CI will run
When conducting XCTest testing using GitLab CI, you must define the test environment. If the machine running Runner on the macOS app is an Apple Silicon machine, do we run it natively, or do we run the Intel binary with Rosetta2? If you ... -
Automate XCTest with GitLab’s CI
GitLab has a Continuous Integration (CI) feature that allows you to perform continuous integration without deploying a separate solution dedicated to CI. Therefore, whenever I push my code to GitLab, XCTest is triggered to run unit tests...
12