Search code examples
iosxcodecocoapodsapp-store-connectipa

Distribute content button during uploading app store


I have cloned iOS app target, to create one for development and another for production.

Now i have a problem with uploading build to iTunes connect. i am using Xcode 10.1, when archiving finished, "distribute content" button is appeared instead of distribute app.

if i set NO to "skip install" option in Build Settings, problem will gone, but i know that there should be better way to solve the problem.

I think this problem is related to Cocoapod so i will share my pod file

use_frameworks!

def my_pods
    pod 'SDWebImage', '~> 4.0'
    #...
end

target 'target1' do
    my_pods
end

target 'target2' do
    my_pods
end

Have you any suggestions to check my project settings?


Solution

  • SOLVED

    Both targets were added in Edit schemes->Build section, this cause to build both targets same time so Xcode generated content and not IPA.