Changes between Version 4 and Version 5 of Ticket #6377


Ignore:
Timestamp:
02/13/2018 12:00:04 AM (22 months ago)
Author:
dzhang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6377 – Description

    v4 v5  
    11=== Background === 
    2 To switch between company and enterprise accounts, there are four (4) changes to be made with the following values in parentheses: 
     2To switch between company and enterprise accounts, there are eight (8) changes to be made with the following values in parentheses: 
    33 
    4 1. General > Bundle identifier (org.adblockplus.AdblockPlusSafari|org.adblockplus.devbuilds.AdblockPlusSafari) 
    5 2. General > Team (Company|Enterprise) 
    6 3. Capabilities > App Groups (group.org.adblockplus.AdblockPlusSafari|group.org.adblockplus.devbuilds.AdblockPlusSafari) 
    7 4. Edit scheme > Build configuration (Debug|Devbuild debug) 
     4* Target **AdblockPlusSafari** 
     5    - General > Bundle Identifier = (org.adblockplus.AdblockPlusSafari || 
     6org.adblockplus.devbuilds.AdblockPlusSafari) 
     7    - General > Team = (Company || Enterprise) 
     8    - Capabilities > App Groups = (group.org.adblockplus.AdblockPlusSafari || 
     9group.org.adblockplus.devbuilds.AdblockPlusSafari) 
     10    - Edit scheme > Build Configuration = (Debug || Devbuild Debug) 
     11* Target **AdblockPlusSafariActionExtension** 
     12    - General > Bundle Identifier = 
     13    (org.adblockplus.AdblockPlusSafari.AdblockPlusSafariActionExtension || 
     14    org.adblockplus.devbuilds.AdblockPlusSafari.AdblockPlusSafariActionExtension) 
     15    - General > Team = (Company || Enterprise) 
     16* Target **AdblockPlusSafariExtension** 
     17    - General > Bundle Identifier = (org.adblockplus.AdblockPlusSafari.AdblockPlusSafariExtension 
     18    || org.adblockplus.devbuilds.AdblockPlusSafari.AdblockPlusSafariExtension) 
     19    - General > Team = (Company || Enterprise) 
    820 
    921It is required to use automatic signing to making switching configurations possible without additional changes. I attempted to change configurations using manual signing and was not able to build the project successfully. It appeared that many more changes to the build settings to account for the differences in the app IDs are needed without automatic signing. 
    1022 
    11 Note that no further changes to the extensions appear to be needed when using this method. The bundle ID does not need to be changed on the extensions. 
    12  
    13 Note that the app id for the enterprise safari extension and action extension do not have an app group configured as they are for the release extensions. 
    14  
    15 Note that these configurations cannot be cleanly separated into a separate target because the product name _and_ module name is based on the target name. 
     23Note that these configurations cannot be cleanly separated into a separate target because the product name _and_ module name is based on the target name. That would then require two separate imports for different modules. 
    1624 
    1725=== What to change ===