App Store Connect: Your app "WienLive internal" (Apple ID: xxxx) has one or more issues

brummibrummi Member ✭✭

Hi,
i got an email from Apple: "Dear Developer,
We identified one or more issues with a recent delivery for your app, "WienLive internal". Please correct the following issues, then upload again.
Non-public API usage - The app references non-public selectors in WienatliveiOSBETA: addTemporaryAttribute:value:forCharacterRange:, addTemporaryAttributes:forCharacterRange:, behaviorWithType:, ..."

The result for some of "grep * *.dll" (e.g. behaviorWithType)was either nothing "Binary file Xamarin.iOS.dll matches" .

If I use "--linksdkonly" the app will be accepted by Apple but on the first start in testflight it crashes immediately with a "duplicate column name"
Is there any solution for this bug?

BR
Steffen

Posts

  • SebastianSeidel.9226SebastianSeidel.9226 DEInsider, University ✭✭✭✭

    It is always recommended to use at least LinkSdkOnly setting for release or App-Store builds. You can enable that setting for your debug build also to see why your app crashes with that error. "Duplicate column name" sounds like there is something wrong with you database. If you use one.

  • brummibrummi Member ✭✭

    It didnt work. The "funny thing" is: i tried it with --linkall on VS2019Mac and VS2019windows(with all updates). On Mac i get: "duplicate column name: homescreen_position" on Win "Cannot create a table without columns (does 'Wienatlive.Shared.Config.HomePromotion' have public properties?)"

    The classes:

    namespace Wienatlive.Shared.Config
    {
    ///


    /// Table HomePromotion
    ///

    [Table("HomePromotion")]
    public class HomePromotion
    {

        [JsonIgnore]
        [PrimaryKey, AutoIncrement, Column("id")]
        public int promotionID { get; set; }
    
        [Column("cms_id")]
        public string id { get; set; }
    
        public string title { get; set; }
        public string a11n { get; set; }
        public string body { get; set; }
        public string image { get; set; }
        public string url { get; set; }
        public bool external { get; set; }
    
        [Ignore]
        public string fromtime { get; set; }
    
        [JsonIgnore]
        [Column("fromtime")]
        public DateTime fromdate { 
            get { 
                DateTime d = DateTime.MinValue;
                if (fromtime != null) {
                    if (!DateTime.TryParse (fromtime, out d)) {
                        d = DateTime.MinValue;
                    }
                }
                return d;
            }
    
            set { fromtime = value.ToString("yyyy-MM-ddTHH:mm:sszzz"); }
        }
    
        [Ignore]
        public string totime { get; set; }
    
        [JsonIgnore]
        [Column("totime")]
        public DateTime todate { 
            get { 
                DateTime d = DateTime.MaxValue;
                if (totime != null) {
                    if (!DateTime.TryParse (totime, out d)) {
                        d = DateTime.MaxValue;
                    }
                }
                return d;
            }
    
            set { totime = value.ToString("yyyy-MM-ddTHH:mm:sszzz"); }
        }
    
    
    }
    

    }


    namespace Wienatlive.Shared.Config
    {
    ///


    /// HomeButton class for json-parser
    ///

    public class HomeButton
    {
    [SQLite.PrimaryKey]
    public string id { get; set; }
    public string title { get; set; }
    public string a11n { get; set; }
    public string icon { get; set; }
    /public bool tint {get;set;}/
    public string url { get; set;}
    public bool external { get; set; }

        public string url_type { get; set;}
    
    
        public string url_android_packagename { get; set;}
    
        public string url_android_custom { get; set;}
    
        public string url_android_store { get; set;}
    
        public string url_ios_custom { get; set;}
    
        public string url_ios_store { get; set; }
    
        public int homescreen_position { get; set; }
    }
    

    }

  • brummibrummi Member ✭✭

    Only with --linkssdkonly i get on mac and win "Can't register the class SVGKitBindings.SVGKImage when the dynamic registrar has been linked away." btw: The code is on mac and win the same.

  • brummibrummi Member ✭✭

    solved. The reason was the difference between VS WIN and VS Mac. I developed on win and that was the error. The stable VS version on mac is not the same as the stable win version. Because i dont had to update only xamarin.ios . Additionally i had to use the preview-version of VS mac. (with the same settings) Voila, the bugs are away.

Sign In or Register to comment.