当我使用命令xcodebuild
构建工作区时,默认路径为:
~/Library/Developer/Xcode/DerivedData/BantingAssistant-egoztalzcreabohfvgozqfhfvopa/Build/Products/Debug-iphoneos
我想改变路径,或者在shell中获取路径。
答案 0 :(得分:0)
可以在命令行中指定exportPath。它还要求指定存档路径。归档路径是.xcarchive文件的位置。导出路径是IPA文件的目标。
library(data.table)
library(magrittr) # for some piping
# combine all listed data.frames to one data.table with another column, which indicates the name
dt <- lapply(1:length(df_list), function(i) {
nam <- names(df_list)[i]
df <- df_list[[i]]
tmpdt <- data.table(name = nam, df)
}) %>% rbindlist
# calculate the limits
alpha = 0.95
dt[, LL := median(Means, na.rm = T) - alpha*IQR(Means, na.rm = T), by = name]
dt[, UL := median(Means, na.rm = T) + alpha*IQR(Means, na.rm = T), by = name]
dt[, res := 0 + ((df$Means < df$LL)*(-1)) + ((df$Means > df$UL)*1)]
请参阅
xcodebuild -archivePath $(YOUR_PATH) -exportPath $(YOUR_PATH/YOUR_FILE.ipa)
获取命令行路径选项的完整列表。