最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

xcode - Is there a possible way to automate iOS apps having common codebase and diffrent Configration files? - Stack Overflow

programmeradmin3浏览0评论

Xcode Automatic Signing Uses Previous Provisioning Profile After Updating xcconfig in Fastlane I have a common SwiftUI codebase that supports multiple apps, and I’m automating the app release process using Fastlane. My project has a single target, and I manage app-specific configurations using the Configuration.xcconfig file.

Problem To apply the correct settings before building, I run a pre-build script that modifies the Configuration.xcconfig file. The build archives correctly, but I’m facing an issue with Xcode’s automatic signing.

Even after updating the configuration file, Xcode still uses the provisioning profile from the previous configuration instead of the updated one.

Pre-Build Script I have added the following script both in Fastlane's Fastfile and in Xcode Build Phases:

#!/bin/bash

echo "

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论